Class BKStats.OpStats

  • Enclosing class:
    BKStats

    public static class BKStats.OpStats
    extends java.lang.Object
    Operation Statistics.
    • Field Detail

      • maxLatency

        long maxLatency
      • minLatency

        long minLatency
      • totalLatency

        double totalLatency
      • numSuccessOps

        long numSuccessOps
      • numFailedOps

        long numFailedOps
      • latencyBuckets

        long[] latencyBuckets
    • Constructor Detail

      • OpStats

        OpStats()
    • Method Detail

      • incrementFailedOps

        public void incrementFailedOps()
        Increment number of failed operations.
      • updateLatency

        public void updateLatency​(long latency)
        Update Latency.
      • copyOf

        public void copyOf​(BKStats.OpStats other)
        Copy stats from other OpStats.
        Parameters:
        other - other op stats