Class Loopback

    • Constructor Summary

      Constructors 
      Constructor Description
      Loopback()  
      Loopback​(int batchSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<?> emit​(java.util.Collection<? extends Event> events)  
      java.util.concurrent.CompletableFuture<java.lang.Integer> receive​(Handler<Event> handler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.basestar.event.Emitter

        emit
    • Constructor Detail

      • Loopback

        public Loopback()
      • Loopback

        public Loopback​(int batchSize)
    • Method Detail

      • emit

        public java.util.concurrent.CompletableFuture<?> emit​(java.util.Collection<? extends Event> events)
        Specified by:
        emit in interface Emitter
      • receive

        public java.util.concurrent.CompletableFuture<java.lang.Integer> receive​(Handler<Event> handler)
        Specified by:
        receive in interface Receiver