Class OutOfSequenceEnvelopeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.controller.cluster.access.concepts.RequestException
org.opendaylight.controller.cluster.access.commands.OutOfSequenceEnvelopeException
- All Implemented Interfaces:
Serializable
A
RequestException
indicating that the backend has received a RequestEnvelope whose sequence does not match
the next expected sequence. This can happen during leader transitions, when a part of the stream is rejected because
the backend is not the leader and it transitions to being a leader with old stream messages still being present.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opendaylight.controller.cluster.access.concepts.RequestException
unwrap
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OutOfSequenceEnvelopeException
public OutOfSequenceEnvelopeException(long expectedEnvelope)
-
-
Method Details
-
isRetriable
public boolean isRetriable()- Specified by:
isRetriable
in classRequestException
-