Examples of lbMonitorExist()


Examples of org.apache.stratos.autoscaler.AutoscalerContext.lbMonitorExist()

                AutoscalerContext asCtx = AutoscalerContext.getInstance();
                AbstractMonitor monitor;

                if(asCtx.monitorExist(clusterId)){
                    monitor = asCtx.getMonitor(clusterId);
                }else if(asCtx.lbMonitorExist(clusterId)){
                    monitor = asCtx.getLBMonitor(clusterId);
                }else{
                    if(log.isDebugEnabled()){
                        log.debug(String.format("A cluster monitor is not found in autoscaler context [cluster] %s", clusterId));
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.