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 String` | `THROTTLING_CACHE` |
    `static String` | `THROTTLING_CACHE_MANAGER` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ThrottleUtil()` |

  - ### Method Summary

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

    - #### 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 Detail

    - #### ThrottleUtil

          public ThrottleUtil()

  - ### Method Detail

    - #### 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()