backtype.storm.metric.api.rpc
Class CombinedShellMetric

java.lang.Object
  extended by backtype.storm.metric.api.CombinedMetric
      extended by backtype.storm.metric.api.rpc.CombinedShellMetric
All Implemented Interfaces:
IMetric, IShellMetric

public class CombinedShellMetric
extends CombinedMetric
implements IShellMetric


Constructor Summary
CombinedShellMetric(ICombiner combiner)
           
 
Method Summary
 void updateMetricFromRPC(Object value)
           
 
Methods inherited from class backtype.storm.metric.api.CombinedMetric
getValueAndReset, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface backtype.storm.metric.api.IMetric
getValueAndReset
 

Constructor Detail

CombinedShellMetric

public CombinedShellMetric(ICombiner combiner)
Method Detail

updateMetricFromRPC

public void updateMetricFromRPC(Object value)
Specified by:
updateMetricFromRPC in interface IShellMetric
Parameters:
value - used to update metric, its's meaning change according implementation Object can be any json support types: String, Long, Double, Boolean, Null, List, Map


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