Class DefaultPump

  • All Implemented Interfaces:
    Pump

    public class DefaultPump
    extends java.lang.Object
    implements Pump
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flush()  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

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

      • DefaultPump

        public DefaultPump​(Receiver receiver,
                           Handler<Event> handler,
                           int minThreads,
                           int maxThreads)
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface Pump
      • flush

        public void flush()
        Specified by:
        flush in interface Pump
      • stop

        public void stop()
        Specified by:
        stop in interface Pump