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

# Class UnifiedThrottleReplicator

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

public class UnifiedThrottleReplicator extends Object
Unified throttle window and counter replicator that serializes both window and counter operations per caller to eliminate race conditions. Coordinates state synchronization across cluster nodes via Redis while detecting concurrent window resets. No Redis operations are performed inside synchronization locks. Enable via `throttling.unified_replicator.enable=true`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UnifiedThrottleReplicator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(String key)`
  `void`
  `setConfigContext(org.apache.axis2.context.ConfigurationContext configContext)`

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

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

- ## Constructor Details

  - ### UnifiedThrottleReplicator

    public UnifiedThrottleReplicator()

- ## Method Details

  - ### setConfigContext

    public void setConfigContext(org.apache.axis2.context.ConfigurationContext configContext)

  - ### add

    public void add(String key)