Package org.rhq.enterprise.server.scheduler

Examples of org.rhq.enterprise.server.scheduler.SchedulerLocal.rescheduleJob()


        if (trigger == null) {
            trigger = new SimpleTrigger(jobName, job.getGroup());
            trigger.setVolatility(false);
            nextExecution = scheduler.scheduleJob(job, trigger);
        } else {
            nextExecution = scheduler.rescheduleJob(jobName, REPO_SYNC_JOB_IMMEDIATE_GROUP_NAME, trigger);
        }
        getLog().info(
            "Scheduled repo sync job [" + job.getName() + ':' + job.getGroup() + "] to fire now at [" + nextExecution
                + "] for [" + repo + "].");
    }
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.