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

com.github.ltsopensource.queue.JobQueueFactory Maven / Gradle / Ivy

package com.github.ltsopensource.queue;

import com.github.ltsopensource.core.AppContext;
import com.github.ltsopensource.core.cluster.Config;
import com.github.ltsopensource.core.spi.SPI;
import com.github.ltsopensource.core.spi.SpiExtensionKey;

/**
 * @author Robert HG ([email protected]) on 3/12/16.
 */
@SPI(key = SpiExtensionKey.JOB_QUEUE, dftValue = "mysql")
public interface JobQueueFactory {

    CronJobQueue getCronJobQueue(Config config);

    RepeatJobQueue getRepeatJobQueue(Config config);

    ExecutableJobQueue getExecutableJobQueue(Config config);

    ExecutingJobQueue getExecutingJobQueue(Config config);

    JobFeedbackQueue getJobFeedbackQueue(Config config);

    NodeGroupStore getNodeGroupStore(Config config);

    SuspendJobQueue getSuspendJobQueue(Config config);

    PreLoader getPreLoader(AppContext appContext);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy