Package org.candlepin.pinsetter.tasks

Examples of org.candlepin.pinsetter.tasks.CancelJobJob.toExecute()


    public void unpauseScheduler() throws PinsetterException {
        log.debug("looking for canceled jobs since scheduler was paused");
        CancelJobJob cjj = new CancelJobJob(jobCurator, this);
        try {
            //Not sure why we don't want to use a UnitOfWork here
            cjj.toExecute(null);
        }
        catch (JobExecutionException e1) {
            throw new PinsetterException("Could not clear canceled jobs before starting");
        }
        log.debug("restarting scheduler");
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.