Modifier and Type | Method and Description |
---|---|
CallerConfiguration |
ThrottleConfiguration.getCallerConfiguration(String ID)
To get a CallerConfiguration - The controlling policy for a caller
|
Modifier and Type | Method and Description |
---|---|
void |
ThrottleConfiguration.addCallerConfiguration(CallerConfiguration callerConfiguration)
To add a CallerConfiguration - The controlling policy for a caller
|
boolean |
CallerContext.canAccess(ThrottleContext throttleContext,
CallerConfiguration configuration,
long currentTime)
Check whether that caller can access or not ,based on current state and pre-defined policy
|
void |
CallerContext.cleanUpCallers(CallerConfiguration configuration,
ThrottleContext throttleContext,
long currentTime)
Clean up the callers - remove all callers that have expired their time window
|
Modifier and Type | Method and Description |
---|---|
static CallerConfiguration |
CallerConfigurationFactory.createCallerConfiguration(int throttletype)
To create a CallerConfiguration instance for the given throttle type
|
Modifier and Type | Class and Description |
---|---|
class |
DomainBaseCallerConfiguration
Caller Configuration implementation for domain name based throttle
|
Modifier and Type | Method and Description |
---|---|
CallerConfiguration |
DomainBaseThrottleConfiguration.getCallerConfiguration(String ID)
To get a DomainBaseCallerConfiguration - if a configuration for given key found ,it returns ,
other wise , the default configuration will return.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainBaseThrottleConfiguration.addCallerConfiguration(CallerConfiguration configuration)
To add a DomainBaseCallerConfiguration
|
Modifier and Type | Class and Description |
---|---|
class |
IPBaseCallerConfiguration
Metadata for controls a caller(IP based) - static data -The data have built form processing
policy
|
Modifier and Type | Method and Description |
---|---|
CallerConfiguration |
IPBaseThrottleConfiguration.getCallerConfiguration(String ID)
To get a IPBaseCallerConfiguration - if a configuration for given key found ,it returns ,
other wise , the default configuration will return.
|
Modifier and Type | Method and Description |
---|---|
void |
IPBaseThrottleConfiguration.addCallerConfiguration(CallerConfiguration configuration)
To add a IPBaseCallerConfiguration
|
Modifier and Type | Class and Description |
---|---|
class |
RoleBaseCallerConfiguration |
Modifier and Type | Method and Description |
---|---|
CallerConfiguration |
RoleBaseThrottleConfiguration.getCallerConfiguration(String roleID) |
Modifier and Type | Method and Description |
---|---|
void |
RoleBaseThrottleConfiguration.addCallerConfiguration(CallerConfiguration callerConfiguration) |
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.