class DelegatingExecutor
extends java.lang.Object
implements java.util.concurrent.Executor
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.Executor |
delegate |
| Constructor and Description |
|---|
DelegatingExecutor(java.util.concurrent.Executor delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.Runnable command)
Execute a task by passing it to the delegate executor.
|
protected java.util.concurrent.Executor |
getDelegate() |
java.lang.String |
toString() |
protected java.util.concurrent.Executor getDelegate()
public void execute(java.lang.Runnable command)
execute in interface java.util.concurrent.Executorcommand - the taskpublic java.lang.String toString()
toString in class java.lang.Object