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
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 Summary
ConstructorsConstructorDescriptionNoAvailableClusterException(String message, List<String> consideredClusters) NoAvailableClusterException(String message, List<String> consideredClusters, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionThe clusters that were examined and rejected, for diagnostics.Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoAvailableClusterException
-
NoAvailableClusterException
-
-
Method Details
-
getConsideredClusters
-