# Uses of Class
org.apache.synapse.commons.throttle.core.DistributedCounterException

Packages that use DistributedCounterException
Package
Description
org.apache.synapse.commons.throttle.core

- ## Uses of DistributedCounterException in org.apache.synapse.commons.throttle.core

  Methods in org.apache.synapse.commons.throttle.core that throw DistributedCounterException
  Modifier and Type
  Method
  Description
  `default long[]`
  DistributedCounterManager.`getWindowState(String key)`
  Atomically reads the window timestamp and counter for the given key.
  `default long`
  DistributedCounterManager.`incrWindowCounter(String key, long delta, long expiryTime)`
  Atomically increments the window counter by `delta`, refreshes the TTL to `expiryTime`, and returns the new value.
  `boolean`
  DistributedCounterManager.`setLockWithExpiry(String key, String value, long expiryTimeStamp)`
  `default void`
  DistributedCounterManager.`setWindow(String key, long count, long ts, long expiryTime)`
  Unconditionally sets a throttle window by overwriting both timestamp and counter, then setting the TTL.