- All Implemented Interfaces:
Serializable, Comparable<GraphGenerator.HealAction>, java.lang.constant.Constable
- Enclosing class:
GraphGenerator
What the watchdog may do about one rate's listener.
Ordered by cost, and the order is the whole point: every rung keeps more of the existing recording than the one above it.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCoalesces produced steps this listener never stored, and they are still retained.Healthy, or nothing worth doing.The Rate no longer points at this listener but the listener itself is fine.Nothing usable is left; build a fresh listener from the same file.The handle is closed but the listener, registration and file all survive.Method Summary
All MethodsModifier and TypeMethodDescriptionstatic GraphGenerator.HealActionReturns the enum constant of this class with the specified name.static GraphGenerator.HealAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
NONE
Healthy, or nothing worth doing.REARM
The Rate no longer points at this listener but the listener itself is fine.Never returned: a lost registration is repaired by REBUILD, which also covers a listener that was never attached in the first place. Re-pointing the Rate at a listener another instance may have claimed would make two listeners fight over one registration, so the constant is kept for the ladder's shape and is deliberately not a rung.
REOPEN
The handle is closed but the listener, registration and file all survive.BACKFILL
Coalesces produced steps this listener never stored, and they are still retained.REBUILD
Nothing usable is left; build a fresh listener from the same file.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null