public class AsyncToSyncAggregateEventsAdapter extends Object implements AggregateEvents
| Constructor and Description |
|---|
AsyncToSyncAggregateEventsAdapter(AggregateEvents target) |
| Modifier and Type | Method and Description |
|---|---|
void |
setTimeoutOptions(AsyncToSyncTimeoutOptions timeoutOptions) |
void |
subscribe(String subscriberId,
Map<String,Set<String>> aggregatesAndEvents,
SubscriberOptions subscriberOptions,
Function<SerializedEvent,CompletableFuture<?>> handler) |
public AsyncToSyncAggregateEventsAdapter(AggregateEvents target)
public void subscribe(String subscriberId, Map<String,Set<String>> aggregatesAndEvents, SubscriberOptions subscriberOptions, Function<SerializedEvent,CompletableFuture<?>> handler)
subscribe in interface AggregateEventspublic void setTimeoutOptions(AsyncToSyncTimeoutOptions timeoutOptions)
Copyright © 2021. All rights reserved.