public class WindowAction<T> extends Action<T> implements Pausable, Flushable<T>
FLUSH_EVENT| Constructor and Description |
|---|
WindowAction(Observable d,
java.lang.Object successKey,
java.lang.Object failureKey,
Timer timer,
int period,
java.util.concurrent.TimeUnit timeUnit,
int delay) |
| Modifier and Type | Method and Description |
|---|---|
Pausable |
cancel()
Cancel this Pausable.
|
void |
doAccept(Event<T> value) |
protected void |
doWindow(java.lang.Long aLong) |
Flushable<T> |
flush()
Trigger flush on this component, generally draining any collected values.
|
Pausable |
pause()
Pause this Pausable.
|
Pausable |
resume()
Unpause this Pausable.
|
accept, getFailureKey, getObservable, getSuccessKey, notifyError, notifyValue, toStringpublic WindowAction(Observable d, java.lang.Object successKey, java.lang.Object failureKey, Timer timer, int period, java.util.concurrent.TimeUnit timeUnit, int delay)
protected void doWindow(java.lang.Long aLong)
public Pausable cancel()
Pausablepublic Pausable pause()
Pausablepublic Pausable resume()
Pausable