open class DelegatingWork : Work
Simple Work adapter that delegates to a given Runnable.
Author
Juergen Hoeller
Since
2.0
See Also
commonj.work.Workjava.lang.Runnable
DelegatingWork(delegate: Runnable)
Create a new DelegatingWork. |
fun getDelegate(): Runnable
Return the wrapped Runnable implementation. |
|
open fun isDaemon(): Boolean
This implementation delegates to |
|
open fun release(): Unit
This implementation is empty, since we expect the Runnable to terminate based on some specific shutdown signal. |
|
open fun run(): Unit
Delegates execution to the underlying Runnable. |