DefaultManagedTaskExecutor
を推奨 @Deprecated
public class DelegatingWork
extends java.lang.Object
implements commonj.work.Work
コンストラクターと説明 |
---|
DelegatingWork(java.lang.Runnable delegate) 使用すべきではありません。 新しい DelegatingWork を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
java.lang.Runnable | getDelegate() 使用すべきではありません。 ラップされた Runnable 実装を返します。 |
boolean | isDaemon() 使用すべきではありません。 この実装は、可能であれば SchedulingAwareRunnable.isLongLived() に委譲します。 |
void | release() 使用すべきではありません。 Runnable は特定のシャットダウンシグナルに基づいて終了することが予想されるため、この実装は空です。 |
void | run() 使用すべきではありません。 基になる Runnable に実行を委譲します。 |
public DelegatingWork(java.lang.Runnable delegate)
delegate
- 委譲する Runnable 実装 (拡張サポートの SchedulingAwareRunnable である可能性があります)SchedulingAwareRunnable
, isDaemon()
public final java.lang.Runnable getDelegate()
public void run()
java.lang.Runnable
の run
public boolean isDaemon()
SchedulingAwareRunnable.isLongLived()
に委譲します。commonj.work.Work
の isDaemon
public void release()
commonj.work.Work
の release