![JAR search and dependency download from the Maven repository](/logo.png)
com.github.ltsopensource.queue.SuspendJobQueue Maven / Gradle / Ivy
package com.github.ltsopensource.queue;
import com.github.ltsopensource.queue.domain.JobPo;
import com.github.ltsopensource.store.jdbc.exception.DupEntryException;
/**
* 暂停队列
*
* @author Robert HG ([email protected]) on 5/27/15.
*/
public interface SuspendJobQueue extends JobQueue {
/**
* 添加任务
*
* @throws DupEntryException
*/
boolean add(JobPo jobPo);
JobPo getJob(String jobId);
/**
* 移除Cron Job
*/
boolean remove(String jobId);
/**
* 得到JobPo
*/
JobPo getJob(String taskTrackerNodeGroup, String taskId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy