Package org.apache.storm.metric.api
Class MeanReducer
- java.lang.Object
-
- org.apache.storm.metric.api.MeanReducer
-
-
Constructor Summary
Constructors Constructor Description MeanReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
extractResult(org.apache.storm.metric.api.MeanReducerState acc)
org.apache.storm.metric.api.MeanReducerState
init()
org.apache.storm.metric.api.MeanReducerState
reduce(org.apache.storm.metric.api.MeanReducerState acc, Object input)
-
-
-
Method Detail
-
init
public org.apache.storm.metric.api.MeanReducerState init()
-
reduce
public org.apache.storm.metric.api.MeanReducerState reduce(org.apache.storm.metric.api.MeanReducerState acc, Object input)
-
extractResult
public Object extractResult(org.apache.storm.metric.api.MeanReducerState acc)
- Specified by:
extractResult
in interfaceIReducer<org.apache.storm.metric.api.MeanReducerState>
-
-