## 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 and Description
    --- | ---
    `boolean` | CallerContext.`canAccess(ThrottleContext throttleContext, CallerConfiguration configuration, long currentTime)` Check whether that caller can access or not ,based on current state and pre-defined policy
    `AccessInformation` | AccessRateController.`canAccess(ThrottleContext throttleContext, java.lang.String callerID, int callerType)` To check whether caller can access not not base on the controlling policy
    `AccessInformation` | RoleBasedAccessRateController.`canAccess(ThrottleContext throttleContext, java.lang.String consumerKey, java.lang.String roleID)` To check whether caller can access not not base on the controlling policy
    `static Throttle` | ThrottleFactory.`createMediatorThrottle(org.apache.neethi.Policy policy)` Abstraction for processing mediator policy assertion and create a throttle based on it
    `static Throttle` | ThrottleFactory.`createModuleThrottle(org.apache.neethi.Policy policy)` Abstraction for processing module policy assertion and create a throttle based on it
    `static Throttle` | ThrottleFactory.`createOperationThrottle(org.apache.neethi.Policy policy)` Abstraction for processing operation policy assertion and create a throttle based on it
    `static Throttle` | ThrottleFactory.`createServiceThrottle(org.apache.neethi.Policy policy)` Abstraction for processing service policy assertion and create a throttle based on it
    `static Throttle` | ThrottlePolicyProcessor.`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 and Description
    --- | ---
    `static CallerContext` | CallerContextFactory.`createCaller(int throttletype, java.lang.String id)` To create a CallerContext(the run time data holder for a remote caller) for the given throttle type.
    `static CallerConfiguration` | CallerConfigurationFactory.`createCallerConfiguration(int throttletype)` To create a CallerConfiguration instance for the given throttle type
    `static ThrottleConfiguration` | ThrottleConfigurationFactory.`createThrottleConfiguration(int throttletype)` To create a ThrottleConfiguration for the given throttle type
    `static ThrottleContext` | ThrottleContextFactory.`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 and Description
    --- | ---
    `Throttle` | ThrottleHandler.`loadThrottle(org.apache.axis2.context.MessageContext messageContext, int throttleType)` Loads a throttle metadata for a particular throttle type
    `void` | ThrottleHandler.`process(Throttle throttle, org.apache.axis2.context.MessageContext messageContext)` processing through the throttle 1) concurrent throttling 2) access rate based throttling - domain or ip

Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.