Package org.rioproject.opstring

Examples of org.rioproject.opstring.OperationalStringManager.trim()


            logger.trace("[{}] ScalingPolicyHandler [{}] totalServices={}, pendingCount={}, pendingRequests={}, planned={}",
                         getName(), getID(), totalServices, pendingCount, pendingRequests, getServiceElement().getPlanned());
            if(((totalServices+pendingCount)+pendingRequests) >
               getServiceElement().getPlanned()) {
                try {
                    int numTrimmed = opMgr.trim(getServiceElement(), pendingRequests);
                    logger.trace("[{}] numTrimmed={}", getID(), numTrimmed);
                } catch(NoSuchObjectException e) {
                    logger.warn("Remote manager decomissioned for [{}] ScalingPolicyHandler [{}], force disconnect",
                                getName(), getID());
                    disconnect();
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.