public class IPBaseThrottleConfiguration extends java.lang.Object implements ThrottleConfiguration
| Constructor and Description |
|---|
IPBaseThrottleConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallerConfiguration(CallerConfiguration configuration)
To add a IPBaseCallerConfiguration
|
CallerConfiguration |
getCallerConfiguration(java.lang.String ID)
To get a IPBaseCallerConfiguration - if a configuration for given key found ,it returns ,
other wise , the default configuration will return.
|
java.lang.String |
getConfigurationKeyOfCaller(java.lang.String callerID)
To get key for access configuration
|
int |
getType()
To get the type of the throttle
|
public CallerConfiguration getCallerConfiguration(java.lang.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 java.lang.String getConfigurationKeyOfCaller(java.lang.String callerID)
getConfigurationKeyOfCaller in interface ThrottleConfigurationcallerID - The remote caller id (ip)public int getType()
ThrottleConfigurationgetType in interface ThrottleConfigurationCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.