@Component(value="gql_OperationRateLimitService")
public class OperationRateLimitService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
OperationRateLimitService() |
Modifier and Type | Method and Description |
---|---|
boolean |
isBlocked(java.lang.String key) |
boolean |
isRateLimited() |
void |
queryPerformed(java.lang.String ip) |
void |
setLimitationProperties(LimitationProperties properties) |
public static final java.lang.String NAME
@Autowired public void setLimitationProperties(LimitationProperties properties)
public boolean isRateLimited()
public boolean isBlocked(java.lang.String key)
public void queryPerformed(@Nullable java.lang.String ip)