@Beta
public interface TokenBucketEntry
| Modifier and Type | Method and Description |
|---|---|
void |
setProcessedBytes(long bytes)
Updates the number of bytes seen by this token bucket.
|
void |
setProcessedPackets(long packets)
Updates the number of packets seen by this token bucket.
|
void setProcessedPackets(long packets)
packets - a packet count.void setProcessedBytes(long bytes)
bytes - a byte counter.