public interface ThrottleCounter
Modifier and Type | Method and Description |
---|---|
int |
count(ThrottleScope throttleScope,
int interval)
Counts requests for specified throttle scope and time interval.
|
int count(ThrottleScope throttleScope, int interval)
throttleScope
- the throttle scopeinterval
- the time interval in secondsCopyright © 2018 Pivotal Software, Inc.. All rights reserved.