Examples of QQuotaResult


Examples of com.sun.grid.jgdi.monitoring.QQuotaResult

        return ret;
    }

    public QQuotaResult getQQuota(QQuotaOptions options) throws JGDIException {
        log.entering("JGDIJMXBase", "getQQuota", options);
        QQuotaResult ret = getJGDI().getQQuota(options);
        log.exiting("JGDIJMXBase", "getQueueInstanceSummary", ret);
        return ret;
    }
View Full Code Here

Examples of com.sun.grid.jgdi.monitoring.QQuotaResult

        QQuotaOptions options = parse(args);
        if (options == null) {
            return;
        }
       
        QQuotaResult res = jgdi.getQQuota(options);
       
        if (!res.getResourceQuotaRules().isEmpty()) {
            out.println("resource quota rule    limit                filter");
            out.println("--------------------------------------------------------------------------------");
            for (ResourceQuotaRuleInfo info : res.getResourceQuotaRules()) {
                // need a Formatter here
                out.print(info.getResouceQuotaRuleName());
                for (ResourceQuota relim : info.getLimits()) {
                    out.print(" " + relim.getName() + "=" + relim.getUsageValue() + "/" + relim.getLimitValue());
                }
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.