程序包 cn.godmao.netty

类 ExecutorService

java.lang.Object
io.netty.util.concurrent.AbstractEventExecutorGroup
io.netty.util.concurrent.MultithreadEventExecutorGroup
cn.godmao.netty.ExecutorService
所有已实现的接口:
cn.godmao.core.IExecute<io.netty.util.concurrent.EventExecutor>, cn.godmao.core.INext<io.netty.util.concurrent.EventExecutor>, cn.godmao.core.ISchedule<io.netty.util.concurrent.ScheduledFuture<?>>, cn.godmao.core.ISelector<io.netty.util.concurrent.EventExecutor>, cn.godmao.core.ISubmit<io.netty.util.concurrent.EventExecutor>, IExecutorService<io.netty.util.concurrent.EventExecutor>, io.netty.util.concurrent.EventExecutorGroup, Iterable<io.netty.util.concurrent.EventExecutor>, Executor, ExecutorService, ScheduledExecutorService

public class ExecutorService extends io.netty.util.concurrent.MultithreadEventExecutorGroup implements IExecutorService<io.netty.util.concurrent.EventExecutor>, cn.godmao.core.ISchedule<io.netty.util.concurrent.ScheduledFuture<?>>
  • 构造器详细资料

    • ExecutorService

      public ExecutorService()
    • ExecutorService

      public ExecutorService(int threads)
    • ExecutorService

      public ExecutorService(String threadName)
    • ExecutorService

      public ExecutorService(int threads, String threadName)
    • ExecutorService

      public ExecutorService(int threads, ThreadFactory threadFactory)
  • 方法详细资料

    • getSize

      public int getSize()
    • newChild

      protected io.netty.util.concurrent.EventExecutor newChild(Executor executor, Object... args)
      指定者:
      newChild 在类中 io.netty.util.concurrent.MultithreadEventExecutorGroup
    • getExecutors

      public io.netty.util.concurrent.EventExecutor[] getExecutors()
      指定者:
      getExecutors 在接口中 IExecutorService<io.netty.util.concurrent.EventExecutor>
    • submit

      public io.netty.util.concurrent.Future<?> submit(Object key, Runnable runnable)
      指定者:
      submit 在接口中 IExecutorService<io.netty.util.concurrent.EventExecutor>
    • submit

      public <T> io.netty.util.concurrent.Future<T> submit(Object key, Runnable task, T result)
      指定者:
      submit 在接口中 IExecutorService<io.netty.util.concurrent.EventExecutor>
    • submit

      public <T> io.netty.util.concurrent.Future<T> submit(Object key, Callable<T> task)
      指定者:
      submit 在接口中 IExecutorService<io.netty.util.concurrent.EventExecutor>
    • schedule

      public io.netty.util.concurrent.ScheduledFuture<?> schedule(Object key, Runnable command, long delay, TimeUnit unit)
    • schedule

      public <V> io.netty.util.concurrent.ScheduledFuture<V> schedule(Object key, Callable<V> callable, long delay, TimeUnit unit)