public enum CounterState extends Enum<CounterState>
Enum Constant and Description |
---|
LOWER_BOUND_REACHED
The counter value has reached its min threshold, i.e.
|
UPPER_BOUND_REACHED
The counter value has reached its max threshold.
|
VALID
The counter value is valid.
|
Modifier and Type | Field and Description |
---|---|
static AdvancedExternalizer<CounterState> |
EXTERNALIZER |
Modifier and Type | Method and Description |
---|---|
static CounterState |
valueOf(int index) |
static CounterState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CounterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CounterState VALID
public static final CounterState LOWER_BOUND_REACHED
public static final CounterState UPPER_BOUND_REACHED
public static final AdvancedExternalizer<CounterState> EXTERNALIZER
public static CounterState[] values()
for (CounterState c : CounterState.values()) System.out.println(c);
public static CounterState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CounterState valueOf(int index)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.