public class BackpressureException extends CouchbaseException
Identifies the need to back off on the supplier side when using a service, because the consumer is overloaded.
Constructor and Description |
---|
BackpressureException() |
BackpressureException(RingBufferDiagnostics diagnostics) |
Modifier and Type | Method and Description |
---|---|
RingBufferDiagnostics |
diagostics()
Returns a
RingBufferDiagnostics which, if non-null, gives a granular breakdown of the contents of the ringbuffer at the time of this exception |
String |
toString() |
details, details, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public BackpressureException()
public BackpressureException(RingBufferDiagnostics diagnostics)
@InterfaceAudience.Public @InterfaceStability.Experimental public RingBufferDiagnostics diagostics()
Returns a RingBufferDiagnostics
which, if non-null, gives a granular breakdown of the contents of the ringbuffer at the time of this exception
Copyright © 2018 Couchbase, Inc.. All rights reserved.