public abstract class ComparableWatermarkSelector extends WatermarkSelector
WatermarkSelectors that evaluate Comparable
objects. When a non Comparable value is received, is is discarded.value| Constructor and Description |
|---|
ComparableWatermarkSelector() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptValue(Object value)
Receives a value which is candidate to become the new watermark value.
|
protected abstract int |
comparableQualifier()
Returns an int value according to the
Comparable contract (-1, 0, 1). |
getSelectedValue, resetprotected abstract int comparableQualifier()
Comparable contract (-1, 0, 1).
Then the result of the comparation matches this method's return value, then
the selected value is updatedpublic final void acceptValue(Object value)
WatermarkSelectoracceptValue in class WatermarkSelectorCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.