org.jclouds.concurrent
Class DynamicThreadPoolExecutor.ForceQueuePolicy
java.lang.Object
org.jclouds.concurrent.DynamicThreadPoolExecutor.ForceQueuePolicy
- All Implemented Interfaces:
- RejectedExecutionHandler
- Enclosing class:
- DynamicThreadPoolExecutor
public static class DynamicThreadPoolExecutor.ForceQueuePolicy
- extends Object
- implements RejectedExecutionHandler
A handler for rejected tasks that adds the specified element to this queue,
waiting if necessary for space to become available.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicThreadPoolExecutor.ForceQueuePolicy
public DynamicThreadPoolExecutor.ForceQueuePolicy()
rejectedExecution
public void rejectedExecution(Runnable r,
ThreadPoolExecutor executor)
- Specified by:
rejectedExecution
in interface RejectedExecutionHandler
Copyright © 2009-2011 jclouds. All Rights Reserved.