public class TooManyRetriesException extends RetryException
RetryException
thrown when a Txn
is retried too many times. Uncontrolled
retrying could lead to liveness problems like livelocks and starvation.TxnFactoryBuilder.setMaxRetries(int)
,
Serialized FormConstructor and Description |
---|
TooManyRetriesException(String message)
Creates a new TooManyRetriesException with the provided message.
|
TooManyRetriesException(String message,
Throwable cause)
Creates a new TooManyRetriesException with the provided message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooManyRetriesException(String message)
message
- the message of the exception.Copyright © 2020. All rights reserved.