Uses of Class
org.apache.synapse.commons.throttle.core.ThrottleException
-
Packages that use ThrottleException Package Description org.apache.synapse.commons.throttle.core org.apache.synapse.commons.throttle.core.factory org.apache.synapse.commons.throttle.module.handler -
-
Uses of ThrottleException in org.apache.synapse.commons.throttle.core
Methods in org.apache.synapse.commons.throttle.core that throw ThrottleException Modifier and Type Method Description AccessInformationAccessRateController. canAccess(ThrottleContext throttleContext, String callerID, int callerType)To check whether caller can access not not base on the controlling policybooleanCallerContext. canAccess(ThrottleContext throttleContext, CallerConfiguration configuration, long currentTime)Check whether that caller can access or not ,based on current state and pre-defined policyAccessInformationRoleBasedAccessRateController. canAccess(ThrottleContext throttleContext, String consumerKey, String roleID)To check whether caller can access not not base on the controlling policystatic ThrottleThrottleFactory. createMediatorThrottle(org.apache.neethi.Policy policy)Abstraction for processing mediator policy assertion and create a throttle based on itstatic ThrottleThrottleFactory. createModuleThrottle(org.apache.neethi.Policy policy)Abstraction for processing module policy assertion and create a throttle based on itstatic ThrottleThrottleFactory. createOperationThrottle(org.apache.neethi.Policy policy)Abstraction for processing operation policy assertion and create a throttle based on itstatic ThrottleThrottleFactory. createServiceThrottle(org.apache.neethi.Policy policy)Abstraction for processing service policy assertion and create a throttle based on itstatic ThrottleThrottlePolicyProcessor. processPolicy(org.apache.neethi.Policy policy)Deprecated.process policy and returns throttle object -
Uses of ThrottleException in org.apache.synapse.commons.throttle.core.factory
Methods in org.apache.synapse.commons.throttle.core.factory that throw ThrottleException Modifier and Type Method Description static CallerContextCallerContextFactory. createCaller(int throttletype, String id)To create a CallerContext(the run time data holder for a remote caller) for the given throttle type.static CallerConfigurationCallerConfigurationFactory. createCallerConfiguration(int throttletype)To create a CallerConfiguration instance for the given throttle typestatic ThrottleConfigurationThrottleConfigurationFactory. createThrottleConfiguration(int throttletype)To create a ThrottleConfiguration for the given throttle typestatic ThrottleContextThrottleContextFactory. createThrottleContext(int throttletype, ThrottleConfiguration configuration)To create a ThrottleContext for the given throttle type Needs to provide a throttle configuration -
Uses of ThrottleException in org.apache.synapse.commons.throttle.module.handler
Methods in org.apache.synapse.commons.throttle.module.handler that throw ThrottleException Modifier and Type Method Description ThrottleThrottleHandler. loadThrottle(org.apache.axis2.context.MessageContext messageContext, int throttleType)Loads a throttle metadata for a particular throttle typevoidThrottleHandler. process(Throttle throttle, org.apache.axis2.context.MessageContext messageContext)processing through the throttle 1) concurrent throttling 2) access rate based throttling - domain or ip
-