Package com.sun.grid.jgdi.monitoring

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


        return ret;
    }

    public QQuotaOptions newQQuotaOptions() throws JGDIException {
        log.entering("JGDIJMXBase", "newQQuotaOptions");
        QQuotaOptions ret = new QQuotaOptions();
        log.exiting("JGDIJMXBase", "newQQuotaOptions", ret);
        return ret;
    }
View Full Code Here


*/
@CommandAnnotation(value = "qquota")
public class QQuotaCommand extends AbstractCommand {
   
    public void run(String[] args) throws Exception {
        QQuotaOptions options = parse(args);
        if (options == null) {
            return;
        }
       
        QQuotaResult res = jgdi.getQQuota(options);
View Full Code Here

            } else {
                throw new IllegalStateException("Unknown argument: " + arg);
            }
        }
       
        QQuotaOptions options = new QQuotaOptions();
       
        if (hostFilter != null) {
            options.setHostFilter(hostFilter);
        }
        if (resourceFilter != null) {
            options.setResourceFilter(resourceFilter);
        }
        if (userFilter != null) {
            options.setUserFilter(userFilter);
        }
        if (peFilter != null) {
            options.setPeFilter(peFilter);
        }
        if (projectFilter != null) {
            options.setProjectFilter(projectFilter);
        }
        if (queueFilter != null) {
            options.setQueueFilter(queueFilter);
        }
       
        return options;
    }
View Full Code Here

TOP

Related Classes of com.sun.grid.jgdi.monitoring.QQuotaOptions

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.