Class TransactionCommitDeadlockException

All Implemented Interfaces:
Serializable

public class TransactionCommitDeadlockException extends TransactionCommitFailedException
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 Details

    • DEADLOCK_EXCEPTION_SUPPLIER

      public static final Supplier<Exception> DEADLOCK_EXCEPTION_SUPPLIER
  • Constructor Details

    • TransactionCommitDeadlockException

      public TransactionCommitDeadlockException(String message, RpcError... errors)