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>

      public class MeanReducer
      extends Object
      implements IReducer<org.apache.storm.metric.api.MeanReducerState>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MeanReducer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MeanReducer

          public MeanReducer()

  - ### Method Detail

    - #### init

          public org.apache.storm.metric.api.MeanReducerState init()

      Specified by:
        `init` in interface `IReducer<org.apache.storm.metric.api.MeanReducerState>`

    - #### reduce

          public org.apache.storm.metric.api.MeanReducerState reduce(org.apache.storm.metric.api.MeanReducerState acc,
                                                                     Object input)

      Specified by:
        `reduce` in interface `IReducer<org.apache.storm.metric.api.MeanReducerState>`

    - #### extractResult

          public Object extractResult(org.apache.storm.metric.api.MeanReducerState acc)

      Specified by:
        `extractResult` in interface `IReducer<org.apache.storm.metric.api.MeanReducerState>`

Copyright © 2021 The Apache Software Foundation. All rights reserved.