Class RingBufferDiagnostics
java.lang.Object
com.couchbase.client.core.tracing.RingBufferDiagnostics
@Public @Experimental public class RingBufferDiagnostics extends Object
Provides a granular breakdown of the queries in the ringbuffer
- Since:
- 2.6.0
- Author:
- Graham Pople
-
Constructor Summary
Constructors Constructor Description RingBufferDiagnostics(Map<ServiceType,Integer> counts, int countNonService)
-
Method Summary
Modifier and Type Method Description int
countNonService()
Returns the count of all requests not associated with a particular serviceMap<ServiceType,Integer>
counts()
Returns a map of the type of each request, along with the current count of each in the ringbufferString
toString()
int
totalCount()
Returns the count of all requests in the ringbuffer
-
Constructor Details
-
RingBufferDiagnostics
@Public @Experimental public RingBufferDiagnostics(Map<ServiceType,Integer> counts, int countNonService)
-
-
Method Details
-
counts
Returns a map of the type of each request, along with the current count of each in the ringbuffer -
countNonService
Returns the count of all requests not associated with a particular service -
totalCount
Returns the count of all requests in the ringbuffer -
toString
-