T - the element typepublic static class Delay.OnFinish<T> extends Delay.DelayedObservation<T>
observer, queuelock| Constructor and Description |
|---|
OnFinish(java.util.concurrent.locks.Lock lock,
java.util.concurrent.BlockingQueue<java.io.Closeable> queue,
Observer<? super T> observer,
java.io.Closeable c)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onRun2()
The delivery method.
|
onRuncancel, cancelled, runpublic OnFinish(@Nonnull
java.util.concurrent.locks.Lock lock,
@Nonnull
java.util.concurrent.BlockingQueue<java.io.Closeable> queue,
@Nonnull
Observer<? super T> observer,
@Nonnull
java.io.Closeable c)
lock - the lockqueue - the delay-queueobserver - the observer to delay toc - the close handler to stop the entire operationpublic void onRun2()
Delay.DelayedObservationonRun2 in class Delay.DelayedObservation<T>