Class ThrottleServiceDataHolder
- java.lang.Object
-
- org.apache.synapse.commons.throttle.core.internal.ThrottleServiceDataHolder
-
public class ThrottleServiceDataHolder extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDistributedCounterManager(DistributedCounterManager distributedCounterManager)voidaddDistributedThrottleProcessor(DistributedThrottleProcessor distributedThrottleProcessor)DistributedCounterManagergetDistributedCounterManager()DistributedThrottleProcessorgetDistributedThrottleProcessor()static ThrottleServiceDataHoldergetInstance()ThrottlePropertiesgetThrottleProperties()voidremoveDistributedCounterManager(DistributedCounterManager distributedCounterManager)voidremoveDistributedThrottleProcessor(DistributedThrottleProcessor distributedThrottleProcessor)voidsetThrottleProperties(ThrottleProperties throttleProperties)
-
-
-
Method Detail
-
getThrottleProperties
public ThrottleProperties getThrottleProperties()
-
setThrottleProperties
public void setThrottleProperties(ThrottleProperties throttleProperties)
-
getInstance
public static ThrottleServiceDataHolder getInstance()
-
addDistributedCounterManager
public void addDistributedCounterManager(DistributedCounterManager distributedCounterManager)
-
removeDistributedCounterManager
public void removeDistributedCounterManager(DistributedCounterManager distributedCounterManager)
-
getDistributedCounterManager
public DistributedCounterManager getDistributedCounterManager()
-
addDistributedThrottleProcessor
public void addDistributedThrottleProcessor(DistributedThrottleProcessor distributedThrottleProcessor)
-
removeDistributedThrottleProcessor
public void removeDistributedThrottleProcessor(DistributedThrottleProcessor distributedThrottleProcessor)
-
getDistributedThrottleProcessor
public DistributedThrottleProcessor getDistributedThrottleProcessor()
-
-