Class DomainBaseCallerConfiguration
- java.lang.Object
-
- org.apache.synapse.commons.throttle.core.CallerConfiguration
-
- org.apache.synapse.commons.throttle.core.impl.domainbase.DomainBaseCallerConfiguration
-
public class DomainBaseCallerConfiguration extends CallerConfiguration
Caller Configuration implementation for domain name based throttle
-
-
Constructor Summary
Constructors Constructor Description DomainBaseCallerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetID()To get IDintgetType()To get the type of the throttlevoidsetID(String ID)To set ID-
Methods inherited from class org.apache.synapse.commons.throttle.core.CallerConfiguration
getAccessState, getMaximumRequestPerUnitTime, getProhibitTimePeriod, getUnitTime, setAccessState, setMaximumRequestPerUnitTime, setProhibitTimePeriod, setUnitTime
-
-
-
-
Method Detail
-
getID
public String getID()
Description copied from class:CallerConfigurationTo get ID- Specified by:
getIDin classCallerConfiguration- Returns:
- String value of ID
-
setID
public void setID(String ID)
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
-
-