Package io.aeron.logbuffer
Enum Class TermUnblocker.Status
- All Implemented Interfaces:
Serializable,Comparable<TermUnblocker.Status>,Constable
- Enclosing class:
- TermUnblocker
Status result of an
TermUnblocker.unblock(UnsafeBuffer, UnsafeBuffer, int, int, int) operation.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo action has been taken during operation.The term has been unblocked so that the log can progress.The term has been unblocked from the offset until the end of the term. -
Method Summary
Modifier and TypeMethodDescriptionstatic TermUnblocker.StatusReturns the enum constant of this class with the specified name.static TermUnblocker.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_ACTION
No action has been taken during operation. -
UNBLOCKED
The term has been unblocked so that the log can progress. -
UNBLOCKED_TO_END
The term has been unblocked from the offset until the end of the term.
-
-
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
-