public class TimedBlockingPolicy extends Object implements RejectedExecutionHandler
| Constructor and Description |
|---|
TimedBlockingPolicy(long waitTime) |
TimedBlockingPolicy(long waitTime,
String poolName,
boolean warnOnRejection,
int warnThreshold,
Logger warnLogger) |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor) |
public TimedBlockingPolicy(long waitTime)
waitTime - wait time in milliseconds for space to become available.public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution in interface RejectedExecutionHandlerCopyright © GigaSpaces.