We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef1bd05 commit 326fb5eCopy full SHA for 326fb5e
xds/src/main/java/io/grpc/xds/internal/rlqs/RlqsBucket.java
@@ -34,6 +34,8 @@ public class RlqsBucket {
34
35
// TODO(sergiitk): [impl] consider AtomicLongFieldUpdater
36
private final AtomicLong lastSnapshotTimeNanos = new AtomicLong(-1);
37
+
38
+ // TODO(sergiitk): [impl] consider java.util.concurrent.atomic.LongAdder for counters
39
private final AtomicLong numRequestsAllowed = new AtomicLong();
40
private final AtomicLong numRequestsDenied = new AtomicLong();
41
0 commit comments