| Package | Description |
|---|---|
| com.cloudhopper.commons.util.windowing |
| Modifier and Type | Method and Description |
|---|---|
void |
Window.addListener(WindowListener<K,R,P> listener)
Adds a new WindowListener if and only if it isn't already present.
|
void |
Window.removeListener(WindowListener<K,R,P> listener)
Removes a WindowListener if it is present.
|
| Constructor and Description |
|---|
Window(int size,
ScheduledExecutorService executor,
long monitorInterval,
WindowListener<K,R,P> listener)
Creates a new window with the specified max window size.
|
Window(int size,
ScheduledExecutorService executor,
long monitorInterval,
WindowListener<K,R,P> listener,
String monitorThreadName)
Creates a new window with the specified max window size.
|
Copyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.