public class TimedBlockingPolicy extends Object implements RejectedExecutionHandler
Constructor and Description |
---|
TimedBlockingPolicy(long waitTime) |
TimedBlockingPolicy(long waitTime,
String poolName,
boolean warnOnRejection,
int warnThreshold,
org.slf4j.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 TimedBlockingPolicy(long waitTime, String poolName, boolean warnOnRejection, int warnThreshold, org.slf4j.Logger warnLogger)
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution
in interface RejectedExecutionHandler
Copyright © GigaSpaces.