Class RoleBaseCallerConfiguration
- java.lang.Object
-
- org.apache.synapse.commons.throttle.core.CallerConfiguration
-
- org.apache.synapse.commons.throttle.core.impl.rolebase.RoleBaseCallerConfiguration
-
public class RoleBaseCallerConfiguration extends CallerConfiguration
-
-
Constructor Summary
Constructors Constructor Description RoleBaseCallerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getID()
To get IDList
getRoles()
int
getType()
To get the type of the throttlevoid
setID(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:CallerConfiguration
To get ID- Specified by:
getID
in classCallerConfiguration
- Returns:
- String value of ID
-
setID
public void setID(String id)
Description copied from class:CallerConfiguration
To set ID- Specified by:
setID
in classCallerConfiguration
- Parameters:
id
- The id of caller
-
getType
public int getType()
Description copied from class:CallerConfiguration
To get the type of the throttle- Specified by:
getType
in classCallerConfiguration
- Returns:
- the type of the throttle
-
getRoles
public List getRoles()
-
-