| Package | Description |
|---|---|
| com.github.agadar.nsapi.query | |
| com.github.agadar.nsapi.query.blueprint | |
| com.github.agadar.nsapi.ratelimiter |
| Modifier and Type | Method and Description |
|---|---|
protected RateLimiter |
TelegramQuery.getRateLimiter() |
| Modifier and Type | Field and Description |
|---|---|
protected static RateLimiter |
APIQuery.rateLimiter
The general rate limiter for all API calls.
|
| Modifier and Type | Method and Description |
|---|---|
protected RateLimiter |
APIQuery.getRateLimiter()
Returns the rate limiter to use in the makeRequest()-function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DependantRateLimiter
Enforces thread-safe rate limiting for x requests per y milliseconds.
|
| Constructor and Description |
|---|
DependantRateLimiter(int requests,
int milliseconds,
RateLimiter dependant)
Constructs a new RateLimiter.
|
Copyright © 2016. All rights reserved.