| Constructor and Description | 
|---|
DelegatingWork(Runnable delegate)
Create a new DelegatingWork. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Runnable | 
getDelegate()
Return the wrapped Runnable implementation. 
 | 
void | 
release()
This implementation is empty, since we expect the Runnable
 to terminate based on some specific shutdown signal. 
 | 
void | 
run()
Delegates execution to the underlying Runnable. 
 | 
public DelegatingWork(Runnable delegate)
delegate - the Runnable implementation to delegate topublic final Runnable getDelegate()
public void run()