Package org.apache.synapse.util
Class ConcurrencyThrottlingUtils
- java.lang.Object
-
- org.apache.synapse.util.ConcurrencyThrottlingUtils
-
public class ConcurrencyThrottlingUtils extends Object
Utility class with related Synapse concurrency throttling.
-
-
Constructor Summary
Constructors Constructor Description ConcurrencyThrottlingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
decrementConcurrencyThrottleAccessController(MessageContext synCtx)
Decrement the internal counter for concurrency throttling, in case of normal response retrieval, delayed response at synapse timeout, exceptional cases while mediation end up trigger fault.
-
-
-
Method Detail
-
decrementConcurrencyThrottleAccessController
public static void decrementConcurrencyThrottleAccessController(MessageContext synCtx)
Decrement the internal counter for concurrency throttling, in case of normal response retrieval, delayed response at synapse timeout, exceptional cases while mediation end up trigger fault. In clustered environment, replicate the decremented value to other members.- Parameters:
synCtx
- Synapse Message Context of which mediation occurs.
-
-