Package org.apache.storm.metric.api
Class MeanReducer
java.lang.Object
org.apache.storm.metric.api.MeanReducer
- All Implemented Interfaces:
IReducer<org.apache.storm.metric.api.MeanReducerState>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractResult
(org.apache.storm.metric.api.MeanReducerState acc) org.apache.storm.metric.api.MeanReducerState
init()
org.apache.storm.metric.api.MeanReducerState
-
Constructor Details
-
MeanReducer
public MeanReducer()
-
-
Method Details
-
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
- Specified by:
extractResult
in interfaceIReducer<org.apache.storm.metric.api.MeanReducerState>
-