Package oracle.nosql.driver
Class WriteThrottlingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- oracle.nosql.driver.NoSQLException
-
- oracle.nosql.driver.RetryableException
-
- oracle.nosql.driver.ThrottlingException
-
- oracle.nosql.driver.WriteThrottlingException
-
- All Implemented Interfaces:
Serializable
public class WriteThrottlingException extends ThrottlingException
Cloud service only.This exception indicates that the provisioned write throughput has been exceeded.
Operations resulting in this exception can be retried but it is recommended that callers use a delay before retrying in order to minimize the chance that a retry will also be throttled. Applications should attempt to avoid throttling exceptions by rate limiting themselves to the degree possible.
Retries and behavior related to throttling can be managed by configuring the default retry handler using
NoSQLHandleConfig.configureDefaultRetryHandler(int, int)
or by implementing aRetryHandler
and usingNoSQLHandleConfig.setRetryHandler(oracle.nosql.driver.RetryHandler)
.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class oracle.nosql.driver.RetryableException
okToRetry
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-