net.i2p.i2ptunnel
Class TunnelControllerGroup.CustomThreadPoolExecutor

java.lang.Object
  extended by java.util.concurrent.AbstractExecutorService
      extended by java.util.concurrent.ThreadPoolExecutor
          extended by net.i2p.i2ptunnel.TunnelControllerGroup.CustomThreadPoolExecutor
All Implemented Interfaces:
Executor, ExecutorService
Enclosing class:
TunnelControllerGroup

static class TunnelControllerGroup.CustomThreadPoolExecutor
extends ThreadPoolExecutor

Not really needed for now but in case we want to add some hooks like afterExecute(). Package private for fallback in case TCG.getInstance() is null, never instantiated but a plugin still needs it... should be rare.

Since:
0.9.18 Moved from I2PTunnelClientBase

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy
 
Constructor Summary
TunnelControllerGroup.CustomThreadPoolExecutor()
           
 
Method Summary
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated
 
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TunnelControllerGroup.CustomThreadPoolExecutor

public TunnelControllerGroup.CustomThreadPoolExecutor()