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

com.payneteasy.mysql.scheduler.dao.ISchedulerDao Maven / Gradle / Ivy

package com.payneteasy.mysql.scheduler.dao;

import com.googlecode.jdbcproc.daofactory.annotation.AStoredProcedure;
import com.payneteasy.mysql.scheduler.dao.model.TTask;

import java.util.List;

public interface ISchedulerDao {

    @AStoredProcedure(name = "get_schedule_tasks")
    List getTasks(int aMaxTasks);

    @AStoredProcedure(name = "set_task_starting")
    void setTaskStarting(long aTaskId);

    @AStoredProcedure(name = "set_task_running")
    void runTask(long aTaskId);

    @AStoredProcedure(name = "set_task_failed")
    void setTaskFailed(long aTaskId, String aErrorMessage);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy