Package io.eventuate.javaclient.domain
Class SwimlaneDispatcher
- java.lang.Object
-
- io.eventuate.javaclient.domain.SwimlaneDispatcher
-
public class SwimlaneDispatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SwimlaneDispatcher(java.lang.String subscriberId, java.lang.Integer swimlane, java.util.concurrent.Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<?>dispatch(io.eventuate.DispatchedEvent<io.eventuate.Event> de, java.util.function.Function<io.eventuate.DispatchedEvent<io.eventuate.Event>,java.util.concurrent.CompletableFuture<?>> target)voidprocessQueuedEvent()
-
-
-
Method Detail
-
dispatch
public java.util.concurrent.CompletableFuture<?> dispatch(io.eventuate.DispatchedEvent<io.eventuate.Event> de, java.util.function.Function<io.eventuate.DispatchedEvent<io.eventuate.Event>,java.util.concurrent.CompletableFuture<?>> target)
-
processQueuedEvent
public void processQueuedEvent()
-
-