org.chenillekit.quartz.services.QuartzSchedulerManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chenillekit-quartz Show documentation
Show all versions of chenillekit-quartz Show documentation
A collection of quartz related utils
/*
* 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);
}