Package com.sun.grid.jgdi.monitoring.filter

Examples of com.sun.grid.jgdi.monitoring.filter.ResourceFilter.addResource()


       
        JGDI jgdi = createJGDI();
        try {
            ClusterQueueSummaryOptions options = new ClusterQueueSummaryOptions();
            ResourceFilter rsf = new ResourceFilter();
            rsf.addResource("NoAccessUsers", "lx-x86");
            options.setResourceFilter(rsf);
            List<ClusterQueueSummary> result = jgdi.getClusterQueueSummary(options);
            printResult(result);
        } finally {
            jgdi.close();
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.