Enum Class ComponentStatus

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

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

    • INSTANTIATED Link icon

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

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

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

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

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

      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 Link icon

    • values Link icon

      public static ComponentStatus[] 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 Link icon

      public static ComponentStatus 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
    • needToDestroyFailedCache Link icon

      public boolean needToDestroyFailedCache()
    • startAllowed Link icon

      public boolean startAllowed()
    • needToInitializeBeforeStart Link icon

      public boolean needToInitializeBeforeStart()
    • stopAllowed Link icon

      public boolean stopAllowed()
    • allowInvocations Link icon

      public boolean allowInvocations()
    • startingUp Link icon

      public boolean startingUp()
    • isTerminated Link icon

      public boolean isTerminated()
    • isStopping Link icon

      public boolean isStopping()