public abstract class ComparableWatermarkSelector extends WatermarkSelector
WatermarkSelector
s 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, reset
protected 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)
WatermarkSelector
acceptValue
in class WatermarkSelector
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.