|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.common.util.concurrent.DynamicThreadPoolExecutor.TimedBlockingPolicy
public static class DynamicThreadPoolExecutor.TimedBlockingPolicy
A handler for rejected tasks that inserts the specified element into this queue, waiting if necessary up to the specified wait time for space to become available.
Constructor Summary | |
---|---|
DynamicThreadPoolExecutor.TimedBlockingPolicy(long waitTime)
|
Method Summary | |
---|---|
void |
rejectedExecution(java.lang.Runnable r,
java.util.concurrent.ThreadPoolExecutor executor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicThreadPoolExecutor.TimedBlockingPolicy(long waitTime)
waitTime
- wait time in milliseconds for space to become available.Method Detail |
---|
public void rejectedExecution(java.lang.Runnable r, java.util.concurrent.ThreadPoolExecutor executor)
rejectedExecution
in interface java.util.concurrent.RejectedExecutionHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |