Package 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
  Description
  `RoleBaseThrottleContext(ThrottleConfiguration throttleConfiguration, ThrottleReplicator throttleReplicator)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### RoleBaseThrottleContext

    public RoleBaseThrottleContext(ThrottleConfiguration throttleConfiguration, ThrottleReplicator throttleReplicator)

- ## Method Details

  - ### getType

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