Class LoadStatsManager2.ClusterDropStats

  • Enclosing class:
    LoadStatsManager2

    @ThreadSafe
    public final class LoadStatsManager2.ClusterDropStats
    extends java.lang.Object
    Recorder for dropped requests. One instance per cluster with edsServiceName.
    • Field Detail

      • clusterName

        private final java.lang.String clusterName
      • edsServiceName

        @Nullable
        private final java.lang.String edsServiceName
      • uncategorizedDrops

        private final java.util.concurrent.atomic.AtomicLong uncategorizedDrops
      • categorizedDrops

        private final java.util.concurrent.ConcurrentMap<java.lang.String,​java.util.concurrent.atomic.AtomicLong> categorizedDrops
      • stopwatch

        private final com.google.common.base.Stopwatch stopwatch
    • Constructor Detail

      • ClusterDropStats

        private ClusterDropStats​(java.lang.String clusterName,
                                 @Nullable
                                 java.lang.String edsServiceName,
                                 com.google.common.base.Stopwatch stopwatch)
    • Method Detail

      • recordDroppedRequest

        public void recordDroppedRequest​(java.lang.String category)
        Records a dropped request with the specified category.
      • recordDroppedRequest

        public void recordDroppedRequest()
        Records a dropped request without category.