public TokenBucket ( |
||
parent | Parent bucket if this is a child bucket, or /// null if this is a root bucket | |
maxBurst | int | Maximum size of the bucket in bytes, or /// zero if this bucket has no maximum capacity |
dripRate | int | Rate that the bucket fills, in bytes per /// second. If zero, the bucket always remains full |
return | System |