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

Examples of com.sun.grid.jgdi.monitoring.filter.HostFilter


        ResourceFilter resourceFilter = null;
        boolean showQueues = false;
        boolean showJobs = false;
        boolean showAsXML = false;
        UserFilter userFilter = null;
        HostFilter hostFilter = null;

        while (!argList.isEmpty()) {
            String arg = argList.remove(0);

            if (arg.equals("-help")) {
View Full Code Here


            QHostOptions qhostOptions = new QHostOptions();
            List<ExecHost> ehList = jgdi.getRealExecHostList();
            List<ClusterQueue> cqList = jgdi.getClusterQueueList();
            qhostOptions.setIncludeQueue(true);
            for (ExecHost eh : ehList) {
                HostFilter hf = new HostFilter();
                hf.addHost(eh.getName());
                qhostOptions.setHostFilter(hf);
                QHostResult res = jgdi.execQHost(qhostOptions);
                printResult(res);
                HostInfo hi = res.getHostInfo(eh.getName());
                assertNotNull(hi);
View Full Code Here

        JGDI jgdi = createJGDI();
        try {
            QHostOptions qhostOptions = new QHostOptions();
            List<ExecHost> ehList = jgdi.getRealExecHostList();
            for (ExecHost eh : ehList) {
                HostFilter hostFilter = new HostFilter();
                hostFilter.addHost(eh.getName());
                qhostOptions.setHostFilter(hostFilter);
                QHostResult res = jgdi.execQHost(qhostOptions);
                printResult(res);
                Set<String> hostNames = res.getHostNames();
                assertTrue("host " + eh.getName() + " not found", hostNames.contains(eh.getName()));
View Full Code Here

   
    private QQuotaOptions parse(String[] args) throws Exception {
        ResourceAttributeFilter resourceAttributeFilter = null;
        ResourceFilter resourceFilter = null;
        UserFilter userFilter = null;
        HostFilter hostFilter = null;
        ProjectFilter projectFilter = null;
        ParallelEnvironmentFilter peFilter = null;
        QueueFilter queueFilter = null;
       
        LinkedList<String> argList = new LinkedList<String>();
View Full Code Here

TOP

Related Classes of com.sun.grid.jgdi.monitoring.filter.HostFilter

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.