Class ClientMetrics

java.lang.Object
com.twicedb.client.metrics.ClientMetrics

public class ClientMetrics extends Object
A container for tracking client-side metrics. This class is threadsafe.
  • Constructor Details

    • ClientMetrics

      public ClientMetrics()
  • Method Details

    • incrementReachedReadQueueCap

      public void incrementReachedReadQueueCap()
    • incrementReachedWriteQueueCap

      public void incrementReachedWriteQueueCap()
    • getReachedReadQueueCap

      public int getReachedReadQueueCap()
    • getReachedWriteQueueCap

      public int getReachedWriteQueueCap()
    • addLatency

      public void addLatency(ClientMetrics.RequestKind rk, long l)
    • getPercentileMap