public class RateLimiterBucket extends Object implements Serializable
IRateLimiterComponent implementations.| Constructor and Description |
|---|
RateLimiterBucket() |
| Modifier and Type | Method and Description |
|---|---|
void |
resetIfNecessary(RateBucketPeriod period)
Resets the count if the period boundary has been crossed.
|
public int count
public long last
public transient Object mutex
public void resetIfNecessary(RateBucketPeriod period)
period - Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.