diff --git a/xds/src/main/java/io/grpc/xds/internal/rlqs/RlqsBucket.java b/xds/src/main/java/io/grpc/xds/internal/rlqs/RlqsBucket.java index 25a93892932..37170477dd0 100644 --- a/xds/src/main/java/io/grpc/xds/internal/rlqs/RlqsBucket.java +++ b/xds/src/main/java/io/grpc/xds/internal/rlqs/RlqsBucket.java @@ -34,6 +34,8 @@ public class RlqsBucket { // TODO(sergiitk): [impl] consider AtomicLongFieldUpdater private final AtomicLong lastSnapshotTimeNanos = new AtomicLong(-1); + + // TODO(sergiitk): [impl] consider java.util.concurrent.atomic.LongAdder for counters private final AtomicLong numRequestsAllowed = new AtomicLong(); private final AtomicLong numRequestsDenied = new AtomicLong();