Class ThreadpoolSwiftletImpl

java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
com.swiftmq.impl.threadpool.standard.ThreadpoolSwiftletImpl
All Implemented Interfaces:
com.swiftmq.swiftlet.timer.event.TimerListener, EventListener

public class ThreadpoolSwiftletImpl extends com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet implements com.swiftmq.swiftlet.timer.event.TimerListener
  • Field Details

  • Constructor Details

    • ThreadpoolSwiftletImpl

      public ThreadpoolSwiftletImpl()
  • Method Details

    • runAsync

      public CompletableFuture<?> runAsync(Runnable runnable)
      Specified by:
      runAsync in class com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
    • runAsync

      public CompletableFuture<?> runAsync(Runnable runnable, boolean virtual)
      Specified by:
      runAsync in class com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
    • createEventLoop

      public com.swiftmq.swiftlet.threadpool.EventLoop createEventLoop(String id, com.swiftmq.swiftlet.threadpool.EventProcessor eventProcessor)
      Specified by:
      createEventLoop in class com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
    • performTimeAction

      public void performTimeAction()
      Specified by:
      performTimeAction in interface com.swiftmq.swiftlet.timer.event.TimerListener
    • freeze

      public void freeze()
      Specified by:
      freeze in class com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
    • unfreeze

      public void unfreeze()
      Specified by:
      unfreeze in class com.swiftmq.swiftlet.threadpool.ThreadpoolSwiftlet
    • startup

      protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.SwiftletException
      Specified by:
      startup in class com.swiftmq.swiftlet.Swiftlet
      Throws:
      com.swiftmq.swiftlet.SwiftletException
    • shutdown

      protected void shutdown()
      Specified by:
      shutdown in class com.swiftmq.swiftlet.Swiftlet