DefaultManagedTaskExecutor
@Deprecated public class DelegatingWork extends Object implements Work
Constructor and Description |
---|
DelegatingWork(Runnable delegate)
Deprecated.
Create a new DelegatingWork.
|
Modifier and Type | Method and Description |
---|---|
Runnable |
getDelegate()
Deprecated.
Return the wrapped Runnable implementation.
|
boolean |
isDaemon()
Deprecated.
This implementation delegates to
SchedulingAwareRunnable.isLongLived() ,
if available. |
void |
release()
Deprecated.
This implementation is empty, since we expect the Runnable
to terminate based on some specific shutdown signal.
|
void |
run()
Deprecated.
Delegates execution to the underlying Runnable.
|
public DelegatingWork(Runnable delegate)
delegate
- the Runnable implementation to delegate to
(may be a SchedulingAwareRunnable for extended support)SchedulingAwareRunnable
,
isDaemon()
public final Runnable getDelegate()
public void run()
public boolean isDaemon()
SchedulingAwareRunnable.isLongLived()
,
if available.