Class ForceQueuePolicy
java.lang.Object
com.j_spaces.kernel.threadpool.policy.ForceQueuePolicy
- All Implemented Interfaces:
RejectedExecutionHandler
A handler for rejected tasks that adds the specified element to this queue, waiting if necessary
for space to become available.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrejectedExecution(Runnable r, ThreadPoolExecutor executor)
-
Constructor Details
-
ForceQueuePolicy
public ForceQueuePolicy()
-
-
Method Details
-
rejectedExecution
- Specified by:
rejectedExecutionin interfaceRejectedExecutionHandler
-