java.lang.Object
java.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
net.i2p.router.transport.ntcp.NTCPSendFinisher.CustomThreadPoolExecutor
All Implemented Interfaces:
AutoCloseable, Executor, ExecutorService
Enclosing class:
NTCPSendFinisher

private static class NTCPSendFinisher.CustomThreadPoolExecutorextends ThreadPoolExecutor
Executor growing and shrinking the finisher pool.
  • Constructor Details

    • CustomThreadPoolExecutor

      public CustomThreadPoolExecutor(int num)
      Builds the finisher pool.
      Parameters:
      num - the threads to start with