Package io.deephaven.util.process
Enum Class ShutdownManager.OrderingCategory
java.lang.Object
java.lang.Enum<ShutdownManager.OrderingCategory>
io.deephaven.util.process.ShutdownManager.OrderingCategory
- All Implemented Interfaces:
Serializable
,Comparable<ShutdownManager.OrderingCategory>
,java.lang.constant.Constable
- Enclosing interface:
- ShutdownManager
Categories that define ordering "groups" for serial execution during task invocation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ShutdownManager.OrderingCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST
Tasks that should be kicked off before the rest. For example, disconnecting clients that may otherwise be poorly served during shutdown processing, or may cause shutdown delays by adding additional work. -
MIDDLE
Tasks that have no particular timeliness requirement. For example, flushing persistent stores to permanent storage. -
LAST
Tasks that should be dispatched after others. For example, shutting down a logger framework and flushing log data.
-
-
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
-