backtype.storm.metric.api.rpc
Class ReducedShellMetric

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

public class ReducedShellMetric
extends ReducedMetric
implements IShellMetric


Constructor Summary
ReducedShellMetric(IReducer reducer)
           
 
Method Summary
 void updateMetricFromRPC(Object value)
           
 
Methods inherited from class backtype.storm.metric.api.ReducedMetric
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

ReducedShellMetric

public ReducedShellMetric(IReducer reducer)
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.