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

# Class RoleBaseCallerContext

java.lang.Object
org.apache.synapse.commons.throttle.core.CallerContext
org.apache.synapse.commons.throttle.core.impl.rolebase.RoleBaseCallerContext

All Implemented Interfaces:
  `Serializable`, `Cloneable`

public class RoleBaseCallerContext extends CallerContext implements Serializable

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RoleBaseCallerContext(String ID)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getType()`
  Gets type of throttle that this caller belong ex : ip/domain

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

  `canAccess, canAccess, cleanUpCallers, clone, decrementLocalCounter, decrementLocalHits, getAndSetLocalCounter, getFirstAccessTime, getGlobalCounter, getId, getLocalCounter, getLocalHits, getLocalQuota, getNextAccessTime, getNextTimeWindow, getRoleId, getUnitTime, getUuid, incrementGlobalCounter, incrementLocalCounter, incrementLocalCounterBy, incrementLocalHits, isThrottleParamSyncingModeSync, resetGlobalCounter, resetLocalCounter, setFirstAccessTime, setGlobalCounter, setIsThrottleParamSyncingModeSync, setLocalCounter, setLocalHits, setLocalQuota, setNextAccessTime, setNextTimeWindow, setRoleId, setUnitTime, subtractFromLocalCounterSafe`

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

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

- ## Constructor Details

  - ### RoleBaseCallerContext

    public RoleBaseCallerContext(String ID)

- ## Method Details

  - ### getType

    public int getType()
    Description copied from class: `CallerContext`
    Gets type of throttle that this caller belong ex : ip/domain
    Specified by:
      `getType` in class `CallerContext`
    Returns:
      Returns the type of the throttle