Class ThrottleServiceComponent
java.lang.Object
org.apache.synapse.commons.throttle.core.internal.ThrottleServiceComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) protected voidaddDistributedCounterManagerInstance(DistributedCounterManager distributedCounterManager) Access Distributed Counter Instance, which is exposed as an OSGI service.protected voidaddDistributedThrottleProcessorInstance(DistributedThrottleProcessor distributedThrottleProcessor) protected voiddeactivate(org.osgi.service.component.ComponentContext ctx) protected voidremoveDistributedCounterManagerInstance(DistributedCounterManager distributedCounterManager) protected voidremoveDistributedThrottleProcessorInstance(DistributedThrottleProcessor distributedThrottleProcessor)
-
Constructor Details
-
ThrottleServiceComponent
public ThrottleServiceComponent()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) -
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctx) -
addDistributedCounterManagerInstance
protected void addDistributedCounterManagerInstance(DistributedCounterManager distributedCounterManager) Access Distributed Counter Instance, which is exposed as an OSGI service.- Parameters:
distributedCounterManager-
-
removeDistributedCounterManagerInstance
protected void removeDistributedCounterManagerInstance(DistributedCounterManager distributedCounterManager) -
addDistributedThrottleProcessorInstance
protected void addDistributedThrottleProcessorInstance(DistributedThrottleProcessor distributedThrottleProcessor) -
removeDistributedThrottleProcessorInstance
protected void removeDistributedThrottleProcessorInstance(DistributedThrottleProcessor distributedThrottleProcessor)
-