Class 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)  
      void processQueuedEvent()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SwimlaneDispatcher

        public SwimlaneDispatcher​(java.lang.String subscriberId,
                                  java.lang.Integer swimlane,
                                  java.util.concurrent.Executor executor)
    • 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()