com.alibaba.dts.client.store.access.ExecutionCounterDao Maven / Gradle / Ivy
package com.alibaba.dts.client.store.access;
import java.util.List;
import com.alibaba.dts.common.domain.store.ExecutionCounter;
import com.alibaba.dts.common.exception.AccessException;
/**
* @author Ronan Zhan
* @date 2016/10/19.
*/
public interface ExecutionCounterDao {
int createExecutionCounterTable() throws AccessException;
int updateExecutionCounter(ExecutionCounter executionCounter) throws AccessException;
int createExecutionCounter(ExecutionCounter executionCounter) throws AccessException;
List list() throws AccessException;
ExecutionCounter get(Long jobInstanceId) throws AccessException;
ExecutionCounter getByJobInstanceAndExecutionNode(Long jobInstanceId, String receiveNode) throws AccessException;
List listJobInstances() throws AccessException;
long deleteByJobInstanceId(long jobInstanceId) throws AccessException;
ExecutionCounter getByJobInstanceAndExecutionNodeAndTaskName(Long jobInstanceId, String receiveNode, String taskName) throws AccessException;
}