|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.DefaultRejectedExecutionHandler
public class DefaultRejectedExecutionHandler
Constructor Summary | |
---|---|
DefaultRejectedExecutionHandler()
|
Method Summary | |
---|---|
void |
handle(java.lang.Runnable runnable,
Executor executor)
Called when a RejectedExecutionException is thrown when the Executor.execute(java.lang.Runnable) method is invoked to handle the rejection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRejectedExecutionHandler()
Method Detail |
---|
public void handle(java.lang.Runnable runnable, Executor executor)
RejectedExecutionHandler
Executor.execute(java.lang.Runnable)
method is invoked to handle the rejection.
handle
in interface RejectedExecutionHandler
runnable
- the task to run, guaranteed to be non-null.executor
- the executor, guaranteed to be non-null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |