storm.kafka.trident
Class MaxMetric

java.lang.Object
  extended by storm.kafka.trident.MaxMetric
All Implemented Interfaces:
ICombiner<Long>

public class MaxMetric
extends Object
implements ICombiner<Long>


Constructor Summary
MaxMetric()
           
 
Method Summary
 Long combine(Long l1, Long l2)
           
 Long identity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxMetric

public MaxMetric()
Method Detail

identity

public Long identity()
Specified by:
identity in interface ICombiner<Long>

combine

public Long combine(Long l1,
                    Long l2)
Specified by:
combine in interface ICombiner<Long>


Copyright © 2016 The Apache Software Foundation. All Rights Reserved.