public class ThrottlingAgent extends Object
Constructor and Description |
---|
ThrottlingAgent(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
executeManagerThrottlingRules(int tenantId) |
void |
executeThrottlingRules(int tenantId) |
org.wso2.carbon.utils.ConfigurationContextService |
getConfigurationContextService() |
org.wso2.carbon.user.core.service.RealmService |
getRealmService() |
org.wso2.carbon.registry.core.service.RegistryService |
getRegistryService() |
org.wso2.carbon.stratos.common.util.StratosConfiguration |
getStratosConfiguration() |
ThrottlingInfoCache |
getThrottlingInfoCache() |
ThrottlingRuleInvoker |
getThrottlingRuleInvoker() |
void |
init() |
void |
setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) |
void |
setRealmService(org.wso2.carbon.user.core.service.RealmService realmService) |
void |
setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) |
void |
setStratosConfiguration(org.wso2.carbon.stratos.common.util.StratosConfiguration stratosConfiguration) |
void |
updateThrottlingCacheForTenant() |
public org.wso2.carbon.stratos.common.util.StratosConfiguration getStratosConfiguration()
public void setStratosConfiguration(org.wso2.carbon.stratos.common.util.StratosConfiguration stratosConfiguration)
public void init() throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
public ThrottlingInfoCache getThrottlingInfoCache()
public void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
public org.wso2.carbon.registry.core.service.RegistryService getRegistryService()
public void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
public org.wso2.carbon.user.core.service.RealmService getRealmService()
public void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)
public org.wso2.carbon.utils.ConfigurationContextService getConfigurationContextService()
public void updateThrottlingCacheForTenant() throws Exception
Exception
public ThrottlingRuleInvoker getThrottlingRuleInvoker() throws Exception
Exception
public void executeManagerThrottlingRules(int tenantId) throws Exception
Exception
public void executeThrottlingRules(int tenantId)
Copyright © 2020 WSO2. All rights reserved.