| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final RateLimiter | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv double | |
| pack-priv static FetcherRateLimiter | |
| pack-priv static FetcherRateLimiter | |
| pack-priv void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| rateLimiter | back to summary |
|---|---|
| private final RateLimiter rateLimiter | |
| serviceName | back to summary |
|---|---|
| private final String serviceName | |
| FetcherRateLimiter | back to summary |
|---|---|
| private FetcherRateLimiter(String serviceName, double requestsPerSecond) | |
| acquire | back to summary |
|---|---|
| pack-priv void acquire(String requestContext) | |
| getRate | back to summary |
|---|---|
| pack-priv double getRate() | |
| ofRequestsPerInterval | back to summary |
|---|---|
| pack-priv static FetcherRateLimiter ofRequestsPerInterval(String serviceName, int requests, Duration interval) | |
| ofRequestsPerSecond | back to summary |
|---|---|
| pack-priv static FetcherRateLimiter ofRequestsPerSecond(String serviceName, double requestsPerSecond) | |
| setRate | back to summary |
|---|---|
| pack-priv void setRate(double requestsPerSecond) | |