|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Executor
| Field Summary |
|---|
| Fields inherited from interface org.apache.catalina.Lifecycle |
|---|
AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, DESTROY_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT |
| Method Summary | |
|---|---|
void |
execute(Runnable command,
long timeout,
TimeUnit unit)
Executes the given command at some time in the future. |
String |
getName()
|
| Methods inherited from interface java.util.concurrent.Executor |
|---|
execute |
| Methods inherited from interface org.apache.catalina.Lifecycle |
|---|
addLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stop |
| Method Detail |
|---|
String getName()
void execute(Runnable command,
long timeout,
TimeUnit unit)
command - the runnable task
RejectedExecutionException - if this task cannot be
accepted for execution - the queue is full
NullPointerException - if command or unit is null
|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||