Token-bucket counter for a single (napplet, opClass) pair.
The bucket is stored in FirewallState.buckets keyed as napplet:opClass. The refill math is lazy: tokens are only recomputed when evaluate() is called.
napplet:opClass
Current available token count (may be fractional).
Timestamp (Unix ms) of the last token-refill computation.
Readonly
Token-bucket counter for a single (napplet, opClass) pair.
The bucket is stored in FirewallState.buckets keyed as
napplet:opClass. The refill math is lazy: tokens are only recomputed when evaluate() is called.Param: tokens
Current available token count (may be fractional).
Param: lastRefill
Timestamp (Unix ms) of the last token-refill computation.