Class TransactionCommitDeadlockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.yangtools.yang.common.OperationFailedException
org.opendaylight.mdsal.common.api.TransactionCommitFailedException
org.opendaylight.mdsal.common.api.TransactionCommitDeadlockException
- All Implemented Interfaces:
Serializable
A type of TransactionCommitFailedException that indicates a situation that would result in a
threading deadlock. This can occur if a caller that submits a write transaction tries to perform
a blocking call via one of the
get
methods on the returned ListenableFuture. Callers
should process the commit result asynchronously (via Futures#addCallback) to ensure deadlock
won't occur.- Author:
- Thomas Pantelis
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opendaylight.yangtools.yang.common.OperationFailedException
addToStringAttributes, getErrorList, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
DEADLOCK_EXCEPTION_SUPPLIER
-
-
Constructor Details
-
TransactionCommitDeadlockException
-