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

org.mwg.plugin.Scheduler Maven / Gradle / Ivy

package org.mwg.plugin;

/**
 * In charge of the scheduling of tasks in mwDB
 */
public interface Scheduler {

    /**
     * Registers a job for execution.
     *
     * @param job The new job to execute.
     */
    void dispatch(Job job);

    /**
     * Starts the scheduler (i.e.: the execution of tasks).
     */
    void start();
    
    /**
     * Terminates the scheduler (i.e.: the execution of tasks).
     */
    void stop();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy