Class ClosedTransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.controller.cluster.access.concepts.RequestException
org.opendaylight.controller.cluster.access.commands.ClosedTransactionException
- All Implemented Interfaces:
Serializable
A
RequestException
indicating that the backend has received a request for a transaction which has already
been closed, either via a successful commit or abort (which is indicated via isSuccessful()
. This can
happen if the corresponding journal record is replicated, but the message to the frontend gets lost and the backed
leader moved before the frontend retried the corresponding request.- Author:
- Robert Varga
- 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
-
ClosedTransactionException
public ClosedTransactionException(boolean successful)
-
-
Method Details
-
isRetriable
public boolean isRetriable()- Specified by:
isRetriable
in classRequestException
-
isSuccessful
public boolean isSuccessful()
-