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

public final class ClosedTransactionException extends RequestException
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.
See Also:
  • Constructor Details

    • ClosedTransactionException

      public ClosedTransactionException(boolean successful)
  • Method Details

    • isRetriable

      public boolean isRetriable()
      Specified by:
      isRetriable in class RequestException
    • isSuccessful

      public boolean isSuccessful()