Enum SleeActualState

  • All Implemented Interfaces:
    Serializable, Comparable<SleeActualState>

    public enum SleeActualState
    extends Enum<SleeActualState>

    SLEE actual state values.

    The actual state of the SLEE is its current lifecycle state. Only live event router nodes have actual state.

    Since:
    Rhino 3.0.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      booting
      SLEE actual state used by a node while it initialises upon startup.
      failed
      SLEE actual state representing the state where the SLEE failed to start successfully.
      quorum
      SLEE actual state used by quorum nodes.
      running
      SLEE actual state representing the running state where event processing functions are fully active.
      starting
      SLEE actual state representing the starting state where the SLEE is getting ready to start event processing functions by starting active resource adaptor entities and services, etc.
      stopped
      SLEE actual state representing the stopped state where event processing functions are not active.
      stopping
      SLEE actual state representing the stopping state where the SLEE has been requested to stop and is currently completing processing of remaining activities and events.
      unlicensed
      SLEE actual state representing the state where the SLEE cannot start due to a missing valid license.
    • Enum Constant Detail

      • booting

        public static final SleeActualState booting

        SLEE actual state used by a node while it initialises upon startup.

        Equivalent JAIN SLEE-defined state: SleeState.STOPPED.

        Since:
        Rhino 3.0.0
      • stopped

        public static final SleeActualState stopped

        SLEE actual state representing the stopped state where event processing functions are not active.

        Equivalent JAIN SLEE-defined state: SleeState.STOPPED.

        Since:
        Rhino 3.0.0
      • starting

        public static final SleeActualState starting

        SLEE actual state representing the starting state where the SLEE is getting ready to start event processing functions by starting active resource adaptor entities and services, etc. This is a transient state that will spontaneously transition to another state once starting tasks have completed.

        Equivalent JAIN SLEE-defined state: SleeState.STARTING.

        Since:
        Rhino 3.0.0
      • running

        public static final SleeActualState running

        SLEE actual state representing the running state where event processing functions are fully active.

        Equivalent JAIN SLEE-defined state: SleeState.RUNNING.

        Since:
        Rhino 3.0.0
      • stopping

        public static final SleeActualState stopping

        SLEE actual state representing the stopping state where the SLEE has been requested to stop and is currently completing processing of remaining activities and events. This is a transient state that will spontaneously transition to stopped when no activities and SBB entities remain.

        Equivalent JAIN SLEE-defined state: SleeState.STOPPING.

        Since:
        Rhino 3.0.0
      • failed

        public static final SleeActualState failed

        SLEE actual state representing the state where the SLEE failed to start successfully. This state can only occur in extraordinary circumstances when an unexpected error occurs while starting the SLEE.

        Equivalent JAIN SLEE-defined state: SleeState.STOPPED.

        Since:
        Rhino 3.0.0
      • unlicensed

        public static final SleeActualState unlicensed

        SLEE actual state representing the state where the SLEE cannot start due to a missing valid license.

      • quorum

        public static final SleeActualState quorum

        SLEE actual state used by quorum nodes. This is a fixed state that does not change for the lifetime of a quorum node.

        Equivalent JAIN SLEE-defined state: SleeState.STOPPED.

        Since:
        Rhino 3.0.0
    • Method Detail

      • values

        public static SleeActualState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SleeActualState c : SleeActualState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SleeActualState 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
      • getJSleeState

        public SleeState getJSleeState()

        Get the equivalent JAIN SLEE-defined state for this actual state value.

        Returns:
        the equivalent JAIN SLEE-defined state.