org.apache.storm.metric.api

## Interface IReducer<T>

- All Known Implementing Classes:
    MeanReducer

      public interface IReducer<T>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `extractResult(T accumulator)`
    `T` | `init()`
    `T` | `reduce(T accumulator, Object input)`

- - ### Method Detail

    - #### init

          T init()

    - #### reduce

          T reduce(T accumulator,
                   Object input)

    - #### extractResult

          Object extractResult(T accumulator)

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