Class DomainBaseCallerConfiguration
java.lang.Object
org.apache.synapse.commons.throttle.core.CallerConfiguration
org.apache.synapse.commons.throttle.core.impl.domainbase.DomainBaseCallerConfiguration
Caller Configuration implementation for domain name based throttle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.synapse.commons.throttle.core.CallerConfiguration
getAccessState, getMaximumRequestPerUnitTime, getProhibitTimePeriod, getUnitTime, setAccessState, setMaximumRequestPerUnitTime, setProhibitTimePeriod, setUnitTime
-
Constructor Details
-
DomainBaseCallerConfiguration
public DomainBaseCallerConfiguration()
-
-
Method Details
-
getID
Description copied from class:CallerConfigurationTo get ID- Specified by:
getIDin classCallerConfiguration- Returns:
- String value of ID
-
setID
Description copied from class:CallerConfigurationTo set ID- Specified by:
setIDin classCallerConfiguration- Parameters:
ID- The id of caller
-
getType
public int getType()Description copied from class:CallerConfigurationTo get the type of the throttle- Specified by:
getTypein classCallerConfiguration- Returns:
- the type of the throttle
-