Class NoAvailableClusterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.openspaces.core.multicluster.exception.MultiClusterAccessException
org.openspaces.core.multicluster.exception.NoAvailableClusterException
All Implemented Interfaces:
Serializable

public class NoAvailableClusterException extends MultiClusterAccessException
Thrown when an operation cannot be routed because no registered cluster is eligible - every cluster is unhealthy, or the failover policy forbids the operation (for example a mutation under FALLBACK_TO_READ_ONLY).

Distinct from a single cluster's failure: this says the proxy has nowhere left to go, which is the signal an operator should alert on.

See Also:
  • Constructor Details

    • NoAvailableClusterException

      public NoAvailableClusterException(String message, List<String> consideredClusters)
    • NoAvailableClusterException

      public NoAvailableClusterException(String message, List<String> consideredClusters, Throwable cause)
  • Method Details

    • getConsideredClusters

      public List<String> getConsideredClusters()
      The clusters that were examined and rejected, for diagnostics.