Class Netty4IOContext.NettyIOScheduler

java.lang.Object
org.apache.qpid.protonj2.client.transport.netty4.Netty4IOContext.NettyIOScheduler
All Implemented Interfaces:
Executor, org.apache.qpid.protonj2.engine.Scheduler
Enclosing class:
Netty4IOContext

public class Netty4IOContext.NettyIOScheduler extends Object implements org.apache.qpid.protonj2.engine.Scheduler, Executor
  • Constructor Details

    • NettyIOScheduler

      public NettyIOScheduler()
  • Method Details

    • execute

      public void execute(Runnable command)
      Specified by:
      execute in interface Executor
      Specified by:
      execute in interface org.apache.qpid.protonj2.engine.Scheduler
    • schedule

      public Future<?> schedule(Runnable command, long delay, TimeUnit unit)
      Specified by:
      schedule in interface org.apache.qpid.protonj2.engine.Scheduler
    • schedule

      public <V> Future<V> schedule(Callable<V> task, long delay, TimeUnit unit)
      Specified by:
      schedule in interface org.apache.qpid.protonj2.engine.Scheduler
    • scheduleAtFixedRate

      public Future<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
      Specified by:
      scheduleAtFixedRate in interface org.apache.qpid.protonj2.engine.Scheduler
    • scheduleWithFixedDelay

      public Future<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
      Specified by:
      scheduleWithFixedDelay in interface org.apache.qpid.protonj2.engine.Scheduler
    • isShutdown

      public boolean isShutdown()
      Specified by:
      isShutdown in interface org.apache.qpid.protonj2.engine.Scheduler