backtype.storm.metric.api.rpc
Class AssignableShellMetric

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

public class AssignableShellMetric
extends AssignableMetric
implements IShellMetric


Constructor Summary
AssignableShellMetric(Object value)
           
 
Method Summary
 void updateMetricFromRPC(Object value)
           
 
Methods inherited from class backtype.storm.metric.api.AssignableMetric
getValueAndReset, setValue
 
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

AssignableShellMetric

public AssignableShellMetric(Object value)
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.