Package org.apache.storm.metric.api

# Interface IReducer<T>

All Known Implementing Classes:
  `MeanReducer`

public interface IReducer<T>

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `extractResult(T accumulator)`
  `T`
  `init()`
  `T`
  `reduce(T accumulator, Object input)`

- ## Method Details

  - ### init

    T init()

  - ### reduce

    T reduce(T accumulator, Object input)

  - ### extractResult

    Object extractResult(T accumulator)