Package | Description |
---|---|
com.yahoo.bard.webservice.web | |
com.yahoo.bard.webservice.web.ratelimit |
Modifier and Type | Method and Description |
---|---|
RateLimitRequestToken |
RateLimiter.getToken(javax.ws.rs.container.ContainerRequestContext request)
Request a token from the RateLimiter, which represents an in-flight request.
|
Modifier and Type | Class and Description |
---|---|
class |
BypassRateLimitRequestToken
RateLimitRequestToken for bypass request.
|
class |
CallbackRateLimitRequestToken
Request token that takes a rateLimitCleanup object on creation, and calls that to handle the cleanup when the request
transaction is completed.
|
Modifier and Type | Field and Description |
---|---|
protected static RateLimitRequestToken |
DefaultRateLimiter.BYPASS_TOKEN |
protected static RateLimitRequestToken |
DefaultRateLimiter.REJECT_REQUEST_TOKEN |
Modifier and Type | Method and Description |
---|---|
protected RateLimitRequestToken |
DefaultRateLimiter.createNewRateLimitRequestToken(AtomicInteger count,
String userName,
boolean isUIQuery,
int requestLimit,
com.codahale.metrics.Meter requestMeter,
com.codahale.metrics.Meter rejectMeter)
Creates a new RateLimitRequestToken.
|
RateLimitRequestToken |
DefaultRateLimiter.getToken(javax.ws.rs.container.ContainerRequestContext request) |
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.