Package org.apache.stratos.throttling.agent.client

Examples of org.apache.stratos.throttling.agent.client.ThrottlingRuleInvoker


        return throttlingAgentConfig;
    }

    public ThrottlingRuleInvoker getThrottlingRuleInvoker() throws Exception {
        // first check the OSGi service exists, if so return it
        ThrottlingRuleInvoker embeddedRuleInvoker =
                (ThrottlingRuleInvoker) throttlingRuleInvokerTracker.getService();
        if (embeddedRuleInvoker != null) {
            return embeddedRuleInvoker;
        }
View Full Code Here


        return new MultitenancyThrottlingServiceClient(serverUrl, userName, password);
    }

    public void executeManagerThrottlingRules(int tenantId) throws Exception {
        ThrottlingRuleInvoker client = getThrottlingRuleInvoker();
        client.executeThrottlingRules(tenantId);
    }
View Full Code Here

TOP

Related Classes of org.apache.stratos.throttling.agent.client.ThrottlingRuleInvoker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.