Class DelegatingEventLoopGroup

java.lang.Object
org.infinispan.server.core.utils.DelegatingEventLoopGroup
All Implemented Interfaces:
io.netty.channel.EventLoopGroup, io.netty.util.concurrent.EventExecutorGroup, Iterable<io.netty.util.concurrent.EventExecutor>, Executor, ExecutorService, ScheduledExecutorService
Direct Known Subclasses:
NonRecursiveEventLoopGroup

public abstract class DelegatingEventLoopGroup extends Object implements io.netty.channel.EventLoopGroup
  • Constructor Details

    • DelegatingEventLoopGroup

      public DelegatingEventLoopGroup()
  • Method Details

    • delegate

      protected abstract io.netty.channel.EventLoopGroup delegate()
    • isShuttingDown

      public boolean isShuttingDown()
      Specified by:
      isShuttingDown in interface io.netty.util.concurrent.EventExecutorGroup
    • shutdownGracefully

      public io.netty.util.concurrent.Future<?> shutdownGracefully()
      Specified by:
      shutdownGracefully in interface io.netty.util.concurrent.EventExecutorGroup
    • shutdownGracefully

      public io.netty.util.concurrent.Future<?> shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
      Specified by:
      shutdownGracefully in interface io.netty.util.concurrent.EventExecutorGroup
    • terminationFuture

      public io.netty.util.concurrent.Future<?> terminationFuture()
      Specified by:
      terminationFuture in interface io.netty.util.concurrent.EventExecutorGroup
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      shutdown in interface ExecutorService
    • shutdownNow

      public List<Runnable> shutdownNow()
      Specified by:
      shutdownNow in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      shutdownNow in interface ExecutorService
    • isShutdown

      public boolean isShutdown()
      Specified by:
      isShutdown in interface ExecutorService
    • isTerminated

      public boolean isTerminated()
      Specified by:
      isTerminated in interface ExecutorService
    • awaitTermination

      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
      Specified by:
      awaitTermination in interface ExecutorService
      Throws:
      InterruptedException
    • next

      public io.netty.channel.EventLoop next()
      Specified by:
      next in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      next in interface io.netty.channel.EventLoopGroup
    • iterator

      public Iterator<io.netty.util.concurrent.EventExecutor> iterator()
      Specified by:
      iterator in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      iterator in interface Iterable<io.netty.util.concurrent.EventExecutor>
    • submit

      public io.netty.util.concurrent.Future<?> submit(Runnable task)
      Specified by:
      submit in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      submit in interface ExecutorService
    • invokeAll

      public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException
      Specified by:
      invokeAll in interface ExecutorService
      Throws:
      InterruptedException
    • invokeAll

      public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException
      Specified by:
      invokeAll in interface ExecutorService
      Throws:
      InterruptedException
    • invokeAny

      public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException
      Specified by:
      invokeAny in interface ExecutorService
      Throws:
      InterruptedException
      ExecutionException
    • invokeAny

      public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
      Specified by:
      invokeAny in interface ExecutorService
      Throws:
      InterruptedException
      ExecutionException
      TimeoutException
    • submit

      public <T> io.netty.util.concurrent.Future<T> submit(Runnable task, T result)
      Specified by:
      submit in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      submit in interface ExecutorService
    • submit

      public <T> io.netty.util.concurrent.Future<T> submit(Callable<T> task)
      Specified by:
      submit in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      submit in interface ExecutorService
    • schedule

      public io.netty.util.concurrent.ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
      Specified by:
      schedule in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      schedule in interface ScheduledExecutorService
    • schedule

      public <V> io.netty.util.concurrent.ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit)
      Specified by:
      schedule in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      schedule in interface ScheduledExecutorService
    • scheduleAtFixedRate

      public io.netty.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
      Specified by:
      scheduleAtFixedRate in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      scheduleAtFixedRate in interface ScheduledExecutorService
    • scheduleWithFixedDelay

      public io.netty.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
      Specified by:
      scheduleWithFixedDelay in interface io.netty.util.concurrent.EventExecutorGroup
      Specified by:
      scheduleWithFixedDelay in interface ScheduledExecutorService
    • register

      public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel)
      Specified by:
      register in interface io.netty.channel.EventLoopGroup
    • register

      public io.netty.channel.ChannelFuture register(io.netty.channel.ChannelPromise promise)
      Specified by:
      register in interface io.netty.channel.EventLoopGroup
    • register

      public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel, io.netty.channel.ChannelPromise promise)
      Specified by:
      register in interface io.netty.channel.EventLoopGroup
    • execute

      public void execute(Runnable command)
      Specified by:
      execute in interface Executor