@InterfaceAudience.Private @InterfaceStability.Experimental public class RingBufferMonitor extends Object
Stores diagnostics on the main ringbuffer to provide additional context to BackpressureExceptions.
Modifier and Type | Method and Description |
---|---|
void |
addRequest(CouchbaseRequest request) |
BackpressureException |
createException() |
static RingBufferMonitor |
instance() |
void |
removeRequest(CouchbaseRequest request) |
void |
reset() |
public void addRequest(CouchbaseRequest request)
public void removeRequest(CouchbaseRequest request)
public void reset()
public static RingBufferMonitor instance()
public BackpressureException createException()
Copyright © 2018 Couchbase, Inc.. All rights reserved.