@Beta public final class ClosedTransactionException extends RequestException
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.Constructor and Description |
---|
ClosedTransactionException(boolean successful) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRetriable() |
boolean |
isSuccessful() |
unwrap
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public boolean isRetriable()
isRetriable
in class RequestException
public boolean isSuccessful()
Copyright © 2019 OpenDaylight. All rights reserved.