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
All Methods Instance Methods Concrete Methods 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 Detail
-
RingBufferDiagnostics
@Public @Experimental public RingBufferDiagnostics(Map<ServiceType,Integer> counts, int countNonService)
-
-
Method Detail
-
counts
@Public @Experimental public Map<ServiceType,Integer> counts()
Returns a map of the type of each request, along with the current count of each in the ringbuffer
-
countNonService
@Public @Experimental public int countNonService()
Returns the count of all requests not associated with a particular service
-
totalCount
@Public @Experimental public int totalCount()
Returns the count of all requests in the ringbuffer
-
-