Class MemoryAwareThreadPoolExecutor.NewThreadRunsPolicy
java.lang.Object
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.NewThreadRunsPolicy
- All Implemented Interfaces:
RejectedExecutionHandler
- Enclosing class:
MemoryAwareThreadPoolExecutor
private static final class MemoryAwareThreadPoolExecutor.NewThreadRunsPolicy
extends Object
implements RejectedExecutionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
rejectedExecution
(Runnable r, ThreadPoolExecutor executor)
-
Constructor Details
-
NewThreadRunsPolicy
private NewThreadRunsPolicy()
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecution
in interfaceRejectedExecutionHandler
-