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

# Class ThrottleUtil

java.lang.Object
org.apache.synapse.commons.throttle.core.ThrottleUtil

public class ThrottleUtil extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `THROTTLING_CACHE`
  `static final String`
  `THROTTLING_CACHE_MANAGER`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThrottleUtil()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static javax.cache.Cache<String,CallerContext>`
  `getThrottleCache()`
  `static ThrottleProperties`
  `loadThrottlePropertiesFromConfigurations()`
  This method used to set throttle properties loaded from throttle.properties file in configuration folder

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

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

- ## Field Details

  - ### THROTTLING_CACHE_MANAGER

    public static final String THROTTLING_CACHE_MANAGER
    See Also:
      - Constant Field Values

  - ### THROTTLING_CACHE

    public static final String THROTTLING_CACHE
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### ThrottleUtil

    public ThrottleUtil()

- ## Method Details

  - ### loadThrottlePropertiesFromConfigurations

    public static ThrottleProperties loadThrottlePropertiesFromConfigurations()
    This method used to set throttle properties loaded from throttle.properties file in configuration folder
    Returns:
      properties of throttle properties

  - ### getThrottleCache

    public static javax.cache.Cache<String,CallerContext> getThrottleCache()