public static class DynamicThreadPoolExecutor.TimedBlockingPolicy extends Object implements RejectedExecutionHandler
Constructor and Description |
---|
DynamicThreadPoolExecutor.TimedBlockingPolicy(long waitTime) |
public DynamicThreadPoolExecutor.TimedBlockingPolicy(long waitTime)
waitTime
- wait time in milliseconds for space to become available.public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution
in interface RejectedExecutionHandler
Copyright © 2009-2013 jclouds. All Rights Reserved.