Uses of Class
org.apache.synapse.commons.throttle.core.ThrottleException
Packages that use ThrottleException
Package
Description
-
Uses of ThrottleException in org.apache.synapse.commons.throttle.core
Methods in org.apache.synapse.commons.throttle.core that throw ThrottleExceptionModifier and TypeMethodDescriptionAccessRateController.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 policybooleanCallerContext.canAccess(ThrottleContext throttleContext, CallerConfiguration configuration, long currentTime, Long eventCount) Check whether that caller can access or not, based on current state and pre-defined policyRoleBasedAccessRateController.canAccess(ThrottleContext throttleContext, String consumerKey, String roleID) To check whether caller can access not not base on the controlling policyRoleBasedAccessRateController.canAccess(ThrottleContext throttleContext, String consumerKey, String roleID, Long eventCount) static 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 ThrottleExceptionModifier and TypeMethodDescriptionstatic 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 ThrottleExceptionModifier and TypeMethodDescriptionThrottleHandler.loadThrottle(org.apache.axis2.context.MessageContext messageContext, int throttleType) Loads a throttle metadata for a particular throttle typevoidprocessing through the throttle 1) concurrent throttling 2) access rate based throttling - domain or ip