public static interface RateLimiter.Metrics
| Modifier and Type | Method and Description |
|---|---|
int |
getAvailablePermissions()
Estimates count of available permissions.
|
int |
getNumberOfWaitingThreads()
Returns an estimate of the number of threads waiting for permission in this JVM process.
|
int getNumberOfWaitingThreads()
This method is typically used for debugging and testing purposes.
int getAvailablePermissions()
This method is typically used for debugging and testing purposes.