Class DomainBaseCallerContext
java.lang.Object
org.apache.synapse.commons.throttle.core.CallerContext
org.apache.synapse.commons.throttle.core.impl.domainbase.DomainBaseCallerContext
- All Implemented Interfaces:
Serializable,Cloneable
Caller Context implementation for domain name based throttle type caller
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetType()Gets type of throttle that this caller belong ex : ip/domainMethods inherited from class org.apache.synapse.commons.throttle.core.CallerContext
canAccess, canAccess, cleanUpCallers, clone, getFirstAccessTime, getGlobalCounter, getId, getLocalCounter, getLocalHits, getLocalQuota, getNextAccessTime, getNextTimeWindow, getRoleId, getUnitTime, getUuid, incrementGlobalCounter, incrementLocalCounter, incrementLocalHits, isThrottleParamSyncingModeSync, resetGlobalCounter, resetLocalCounter, setFirstAccessTime, setGlobalCounter, setIsThrottleParamSyncingModeSync, setLocalCounter, setLocalHits, setLocalQuota, setNextAccessTime, setNextTimeWindow, setRoleId, setUnitTime
-
Constructor Details
-
DomainBaseCallerContext
-
-
Method Details
-
getType
public int getType()Description copied from class:CallerContextGets type of throttle that this caller belong ex : ip/domain- Specified by:
getTypein classCallerContext- Returns:
- Returns the type of the throttle
-