Enum ComponentStatus

java.lang.Object
java.lang.Enum<ComponentStatus>
org.infinispan.lifecycle.ComponentStatus
All Implemented Interfaces:
Serializable, Comparable<ComponentStatus>

public enum ComponentStatus extends Enum<ComponentStatus>
Different states a component may be in.
Since:
4.0
Author:
Manik Surtani
See Also:
  • Enum Constant Details

    • INSTANTIATED

      public static final ComponentStatus INSTANTIATED
      Object has been instantiated, but start() has not been called.
    • INITIALIZING

      public static final ComponentStatus INITIALIZING
      The start() method has been called but not yet completed.
    • RUNNING

      public static final ComponentStatus RUNNING
      The start() method has been completed and the component is running.
    • STOPPING

      public static final ComponentStatus STOPPING
      The stop() method has been called but has not yet completed.
    • TERMINATED

      public static final ComponentStatus TERMINATED
      The stop() method has completed and the component has terminated.
    • FAILED

      public static final ComponentStatus FAILED
      The component is in a failed state due to a problem with one of the other lifecycle transition phases.
  • Method Details

    • values

      public static ComponentStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ComponentStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • needToDestroyFailedCache

      public boolean needToDestroyFailedCache()
    • startAllowed

      public boolean startAllowed()
    • needToInitializeBeforeStart

      public boolean needToInitializeBeforeStart()
    • stopAllowed

      public boolean stopAllowed()
    • allowInvocations

      public boolean allowInvocations()
    • startingUp

      public boolean startingUp()
    • isTerminated

      public boolean isTerminated()
    • isStopping

      public boolean isStopping()