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

public static enum ShutdownManager.OrderingCategory extends Enum<ShutdownManager.OrderingCategory>
Categories that define ordering "groups" for serial execution during task invocation.
  • Enum Constant Details

    • FIRST

      public static final ShutdownManager.OrderingCategory 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

      public static final ShutdownManager.OrderingCategory MIDDLE
      Tasks that have no particular timeliness requirement. For example, flushing persistent stores to permanent storage.
    • LAST

      public static final ShutdownManager.OrderingCategory LAST
      Tasks that should be dispatched after others. For example, shutting down a logger framework and flushing log data.
  • Method Details

    • values

      public static ShutdownManager.OrderingCategory[] 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

      public static ShutdownManager.OrderingCategory valueOf(String name)
      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 name
      NullPointerException - if the argument is null