Class EventLoopImpl

java.lang.Object
com.swiftmq.impl.threadpool.standard.group.EventLoopImpl
All Implemented Interfaces:
com.swiftmq.swiftlet.threadpool.EventLoop

public class EventLoopImpl extends Object implements com.swiftmq.swiftlet.threadpool.EventLoop
  • Constructor Details

    • EventLoopImpl

      public EventLoopImpl(SwiftletContext ctx, String id, boolean bulkMode, com.swiftmq.swiftlet.threadpool.EventProcessor eventProcessor, ThreadRunner threadPool)
  • Method Details

    • freeze

      public CompletableFuture<Void> freeze()
    • unfreeze

      public void unfreeze()
    • submit

      public void submit(Object event)
      Specified by:
      submit in interface com.swiftmq.swiftlet.threadpool.EventLoop
    • setCloseListener

      public void setCloseListener(CloseListener closeListener)
    • internalClose

      public void internalClose()
    • close

      public void close()
      Specified by:
      close in interface com.swiftmq.swiftlet.threadpool.EventLoop
    • toString

      public String toString()
      Overrides:
      toString in class Object