Package com.couchbase.client.core
Class BackpressureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.CouchbaseException
com.couchbase.client.core.BackpressureException
- All Implemented Interfaces:
Serializable
Identifies the need to back off on the supplier side when using a service, because the consumer is overloaded.
- Since:
- 1.0
- Author:
- Michael Nitschinger
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns aRingBufferDiagnostics
which, if non-null, gives a granular breakdown of the contents of the ringbuffer at the time of this exceptiontoString()
Methods inherited from class com.couchbase.client.core.CouchbaseException
details, details, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
BackpressureException
public BackpressureException() -
BackpressureException
-
-
Method Details
-
diagnostics
Returns aRingBufferDiagnostics
which, if non-null, gives a granular breakdown of the contents of the ringbuffer at the time of this exception- Returns:
- returns the diagnostics for the ringbuffer where the backpressure originated.
-
toString
-