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.RegistryExceptionpublic 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
Exceptionpublic ThrottlingRuleInvoker getThrottlingRuleInvoker() throws Exception
Exceptionpublic void executeManagerThrottlingRules(int tenantId)
throws Exception
Exceptionpublic void executeThrottlingRules(int tenantId)
Copyright © 2019 WSO2. All rights reserved.