Class ClusterTerminationException

All Implemented Interfaces:
Serializable

public class ClusterTerminationException extends AgentTerminationException
Used to terminate the Agent within a cluster in an expected/unexpected fashion.
See Also:
  • Constructor Details

    • ClusterTerminationException

      public ClusterTerminationException()
      Construct an exception used to terminate the cluster with isExpected() set to true.
    • ClusterTerminationException

      public ClusterTerminationException(boolean isExpected)
      Construct an exception used to terminate the cluster.
      Parameters:
      isExpected - true if the termination is expected, i.e. it was requested.
  • Method Details

    • isExpected

      public boolean isExpected()
      Whether the termination is expected.
      Returns:
      true if expected otherwise false.