Uses of Class
org.apache.synapse.commons.throttle.core.DistributedCounterException
Packages that use DistributedCounterException
-
Uses of DistributedCounterException in org.apache.synapse.commons.throttle.core
Methods in org.apache.synapse.commons.throttle.core that throw DistributedCounterExceptionModifier and TypeMethodDescriptiondefault long[]DistributedCounterManager.getWindowState(String key) Atomically reads the window timestamp and counter for the given key.default longDistributedCounterManager.incrWindowCounter(String key, long delta, long expiryTime) Atomically increments the window counter bydelta, refreshes the TTL toexpiryTime, and returns the new value.booleanDistributedCounterManager.setLockWithExpiry(String key, String value, long expiryTimeStamp) default voidUnconditionally sets a throttle window by overwriting both timestamp and counter, then setting the TTL.