class NotifyingRunnable<R extends java.lang.Runnable,A> extends DelegatingRunnable implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
private A |
attachment |
private TaskNotifier<? super R,? super A> |
notifier |
| Constructor and Description |
|---|
NotifyingRunnable(R delegate,
TaskNotifier<? super R,? super A> notifier,
A attachment) |
| Modifier and Type | Method and Description |
|---|---|
protected R |
getDelegate() |
void |
run() |
toStringprivate final TaskNotifier<? super R extends java.lang.Runnable,? super A> notifier
private final A attachment
NotifyingRunnable(R delegate, TaskNotifier<? super R,? super A> notifier, A attachment)
protected R getDelegate()
getDelegate in class DelegatingRunnablepublic void run()
run in interface java.lang.Runnablerun in class DelegatingRunnable