public class IPBaseThrottleConfiguration extends Object implements ThrottleConfiguration
| Constructor and Description |
|---|
IPBaseThrottleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallerConfiguration(CallerConfiguration configuration)
To add a IPBaseCallerConfiguration
|
CallerConfiguration |
getCallerConfiguration(String ID)
To get a IPBaseCallerConfiguration - if a configuration for given key found ,it returns ,
other wise , the default configuration will return.
|
String |
getConfigurationKeyOfCaller(String callerID)
To get key for access configuration
|
int |
getType()
To get the type of the throttle
|
public CallerConfiguration getCallerConfiguration(String ID)
getCallerConfiguration in interface ThrottleConfigurationID - - The Remote caller id (IP)public void addCallerConfiguration(CallerConfiguration configuration)
addCallerConfiguration in interface ThrottleConfigurationconfiguration - The configuration for a callerpublic String getConfigurationKeyOfCaller(String callerID)
getConfigurationKeyOfCaller in interface ThrottleConfigurationcallerID - The remote caller id (ip)public int getType()
ThrottleConfigurationgetType in interface ThrottleConfigurationCopyright © 2005–2019 Apache Software Foundation. All rights reserved.