T
- The type of the key used for the aggregator.public static interface ContiguousFIFOAggregator.Callback<T>
Modifier and Type | Method and Description |
---|---|
void |
onBecomeFirstExpected(T key)
The key you declared as expected has become the first expected key in this aggregator.
|
void onBecomeFirstExpected(T key)
ContiguousFIFOAggregator.forget(Object)
or a task
assigned and executed with ContiguousFIFOAggregator.execute(Object, Runnable)
.key
- The key that became first. We provide the key so the callback can either not
keep state, or it can keep state which may have changed so the callback can do
a comparison.