org.apache.synapse.commons.throttle.core.impl.rolebase

## Class RoleBaseThrottleContext

- java.lang.Object
- - org.apache.synapse.commons.throttle.core.ThrottleContext
  - - org.apache.synapse.commons.throttle.core.impl.rolebase.RoleBaseThrottleContext

-     public class RoleBaseThrottleContext
      extends ThrottleContext

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RoleBaseThrottleContext(ThrottleConfiguration throttleConfiguration, ThrottleReplicator throttleReplicator)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getType()`

    - ### Methods inherited from class org.apache.synapse.commons.throttle.core.ThrottleContext

      `addAndFlushCallerContext, addCallerContext, cleanupCallers, flushCallerContext, getCallerContext, getConfigurationContext, getThrottleConfiguration, getThrottleId, processCleanList, removeAndDestroyShareParamsOfCaller, removeAndFlushCaller, removeCallerContext, replicateTimeWindow, setConfigurationContext, setThrottleId`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RoleBaseThrottleContext

          public RoleBaseThrottleContext(ThrottleConfiguration throttleConfiguration,
                                         ThrottleReplicator throttleReplicator)

  - ### Method Detail

    - #### getType

          public int getType()

      Specified by:
        `getType` in class `ThrottleContext`
      Returns:
        Returns the type of throttle ex : ip /domain

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