Examples of ExecHost


Examples of com.sun.grid.jgdi.configuration.ExecHost

            return;
        }
        String arg = oi.getFirstArg();
        List<JGDIAnswer> answer = new LinkedList<JGDIAnswer>();
        //TODO LP: Remove this ugly(inconsistent) behaviour in client and JGDI (then can be generated as well)
        ExecHost obj = jgdi.getExecHostWithAnswer(arg, answer);
        //TODO LP: Qmaster check candidate
        printAnswers(answer);
        answer.clear();
        if (obj == null) {
            err.println(getErrorMessage("InvalidObjectArgument", oi.getOd().getOption() , arg));
View Full Code Here

Examples of com.sun.grid.jgdi.configuration.ExecHost

        }
    }
   
    public void testUpdateGetReportingVariables() throws Exception {
       
        ExecHost eh = jgdi.getExecHost("global");
        List<String> orgRV = eh.getReportVariablesList();
        eh.addReportVariables("cpu");
        eh.addReportVariables("np_load_avg");
        jgdi.updateExecHost(eh);
        try {
            ExecHost eh1 = jgdi.getExecHost("global");
            List<String> rv = eh1.getReportVariablesList();
            assertTrue("reporting variables must contain cpu", rv.contains("cpu"));
            assertTrue("reporting variables must contain np_load_avg", rv.contains("np_load_avg"));
        } finally {
            eh.removeAllReportVariables();
            for(String rv: orgRV) {
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.