public interface TokenBucketLimiter
The rate is specified in cycles per second (or 'Hertz').
Modifier and Type | Method and Description |
---|---|
int |
getRate()
Returns the rate in cycles per second (which is the same as saying 'in Hertz').
|
boolean |
isSpin() |
void |
limit() |
int getRate()
boolean isSpin()
void limit()
Copyright © 2019 JBoss by Red Hat. All rights reserved.