| Package | Description |
|---|---|
| com.h3c.util.health |
| Modifier and Type | Method and Description |
|---|---|
<C extends Enum<C>> |
StateAggregator.Algorithm.compute(Map<C,State> map)
Computes a derived state from a map of states for some specific category.
|
State |
Health.getAggregateState()
Returns the aggregate state.
|
State |
Health.getState(C category)
Returns the state for the specified category.
|
static State |
State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Health.setState(C category,
State state)
Sets the specified state value for the given category.
|
| Modifier and Type | Method and Description |
|---|---|
<C extends Enum<C>> |
StateAggregator.Algorithm.compute(Map<C,State> map)
Computes a derived state from a map of states for some specific category.
|
Copyright © 2014. All Rights Reserved.