com.h3c.util.health

## Interface StateAggregator.Algorithm

- Enclosing class:
    StateAggregator

      public static interface StateAggregator.Algorithm

  The aggregation computation algorithm interface.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<C extends Enum<C>> State` | `compute(Map<C,State> map)` Computes a derived state from a map of states for some specific category.

- - ### Method Detail

    - #### compute

          <C extends Enum<C>> State compute(Map<C,State> map)

      Computes a derived state from a map of states for some specific category.
      Type Parameters:
        `C` - the category to which the map is bound
      Parameters:
        `map` - the mapping of categories to states
      Returns:
        the derived aggregate state

Copyright © 2014. All Rights Reserved.