@InterfaceAudience.Public @InterfaceStability.Experimental public class RingBufferDiagnostics extends Object
Provides a granular breakdown of the queries in the ringbuffer
Constructor and Description |
---|
RingBufferDiagnostics(Map<ServiceType,Integer> counts,
int countNonService) |
Modifier and Type | Method and Description |
---|---|
int |
countNonService()
Returns the count of all requests not associated with a particular service
|
Map<ServiceType,Integer> |
counts()
Returns a map of the type of each request, along with the current count of each in the ringbuffer
|
String |
toString() |
int |
totalCount()
Returns the count of all requests in the ringbuffer
|
@InterfaceAudience.Public @InterfaceStability.Experimental public RingBufferDiagnostics(Map<ServiceType,Integer> counts, int countNonService)
@InterfaceAudience.Public @InterfaceStability.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
@InterfaceAudience.Public @InterfaceStability.Experimental public int countNonService()
Returns the count of all requests not associated with a particular service
@InterfaceAudience.Public @InterfaceStability.Experimental public int totalCount()
Returns the count of all requests in the ringbuffer
Copyright © 2018 Couchbase, Inc.. All rights reserved.