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

## Class DomainBaseThrottleContext

- java.lang.Object
- - org.apache.synapse.commons.throttle.core.ThrottleContext
  - - org.apache.synapse.commons.throttle.core.impl.domainbase.DomainBaseThrottleContext

-     public class DomainBaseThrottleContext
      extends ThrottleContext

  Holds all the run time data for all domain based remote callers

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DomainBaseThrottleContext​(ThrottleConfiguration throttleConfiguration, ThrottleReplicator replicator)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### DomainBaseThrottleContext

          public DomainBaseThrottleContext​(ThrottleConfiguration throttleConfiguration,
                                           ThrottleReplicator replicator)

  - ### Method Detail

    - #### getType

          public int getType()

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