com.xxl.job.admin.dao.XxlJobRegistryDao Maven / Gradle / Ivy
package com.xxl.job.admin.dao;
import com.xxl.job.admin.core.model.XxlJobRegistry;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* Created by xuxueli on 16/9/30.
*/
@Mapper
public interface XxlJobRegistryDao {
public int removeDead(@Param("timeout") int timeout);
public List findAll(@Param("timeout") int timeout);
public int registryUpdate(@Param("registryGroup") String registryGroup,
@Param("registryKey") String registryKey,
@Param("registryValue") String registryValue);
public int registrySave(@Param("registryGroup") String registryGroup,
@Param("registryKey") String registryKey,
@Param("registryValue") String registryValue);
public int registryDelete(@Param("registryGroup") String registGroup,
@Param("registryKey") String registryKey,
@Param("registryValue") String registryValue);
}