Package org.glite.lb

Examples of org.glite.lb.ContextIL.log()


            ctx.setUser(job.getExtraAttribute("USER_DN_X500"));

            //ctx.setUser(ctxd.getUser());
            reg.setJdl(job.getJDL());

            ctx.log(reg);
        } else {
            throw new LBException("LBLogger.register(): grid jobid set, not registering in LB");
        }
    }
View Full Code Here


            event.setCommand(EventCREAMStore.Command.CMDRESUME);
        } else {
            throw new LBException("LBLogger.insertCommand(): not handled " + cmd.getName());
        }

        ctx.log(event);
    }

    public void execute(Job job, Command cmd, int phase, String destid, Throwable reason) throws LBException {
        if (job == null) {
            return;
View Full Code Here

            event.setCommand(EventCREAMCall.Command.CMDRESUME);
        } else {
            throw new LBException("LBLogger.execute(): not handled " + cmd.getName());
        }
       
        ctx.log(event);
    }

    public void statusChanged(Job job, JobStatus status, JobStatus lastStatus, int phase) throws LBException {
        if (job == null) {
            return;
View Full Code Here

                break;
            default:
                break; /* XXX */
        }

        ctx.log(event);
    }

    public void accept(Job job) throws LBException {
        if (job ==null) {
            return;
View Full Code Here

        ctx.setJobid(jobid);

        EventCREAMAccepted event = new EventCREAMAccepted();
        event.setLocalJobid(job.getId());

        ctx.log(event);
    }
}
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.