All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.chenillekit.quartz.services.QuartzSchedulerManager Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
/*
 * Apache License
 * Version 2.0, January 2004
 * http://www.apache.org/licenses/
 *
 * Copyright 2008 by chenillekit.org
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 */

package org.chenillekit.quartz.services;

import org.quartz.Scheduler;

/**
 * manages the Quartz schedulers.
 *
 * @version $Id: QuartzSchedulerManager.java 358 2008-11-25 12:52:26Z homburgs $
 */
public interface QuartzSchedulerManager
{
    /**
     * get the default scheduler.
     *
     * @return the default scheduler
     */
    Scheduler getScheduler();

    /**
     * get a named scheduler.
     *
     * @param schedulerId id of the scheduler
     *
     * @return a named scheduler
     */
    Scheduler getScheduler(String schedulerId);

    /**
     * shutdown all scheduler.
     */
    void shutdown();

    /**
     * shutdown a named scheduler.
     *
     * @param schedulerId id of the scheduler
     */
    void shutdown(String schedulerId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy