Package com.twicedb.client.metrics
Class ClientMetrics
java.lang.Object
com.twicedb.client.metrics.ClientMetrics
A container for tracking client-side metrics. This class is threadsafe.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLatency
(ClientMetrics.RequestKind rk, long l) int
int
void
void
-
Constructor Details
-
ClientMetrics
public ClientMetrics()
-
-
Method Details
-
incrementReachedReadQueueCap
public void incrementReachedReadQueueCap() -
incrementReachedWriteQueueCap
public void incrementReachedWriteQueueCap() -
getReachedReadQueueCap
public int getReachedReadQueueCap() -
getReachedWriteQueueCap
public int getReachedWriteQueueCap() -
addLatency
-
getPercentileMap
-