public class RateLimiter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RateLimiter.Builder |
Modifier and Type | Method and Description |
---|---|
void |
maybeLog(Consumer<String> logAction) |
void |
maybeRun(Consumer<Integer> action) |