org.mule.transport.polling.watermark.selector
Class MinValueWatermarkSelector
java.lang.Object
org.mule.transport.polling.watermark.selector.WatermarkSelector
org.mule.transport.polling.watermark.selector.ComparableWatermarkSelector
org.mule.transport.polling.watermark.selector.MinValueWatermarkSelector
public class MinValueWatermarkSelector
- extends ComparableWatermarkSelector
Implementation of WatermarkSelector
that selectes the minimum value of the
set. For this to work, received values need to implement the Comparable
interface. Values that don't meet this condition will be discarded
- Since:
- 3.5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MinValueWatermarkSelector
public MinValueWatermarkSelector()
comparableQualifier
protected int comparableQualifier()
- Description copied from class:
ComparableWatermarkSelector
- Returns an int value according to the
Comparable
contract (-1, 0, 1).
Then the result of the comparation matches this method's return value, then
the selected value is updated
- Specified by:
comparableQualifier
in class ComparableWatermarkSelector
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.