Package | Description |
---|---|
lib.easyjava.net.rest |
Modifier and Type | Method and Description |
---|---|
static RateLimiter.Type |
RateLimiter.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RateLimiter.Type[] |
RateLimiter.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
MultiRateLimiter(RateLimiter.Type type,
java.util.List<Pair<java.lang.Integer,java.lang.Long>> limits) |
SingleRateLimiter(RateLimiter.Type type,
int callsPerEpoch,
long millisPerEpoch) |