提交 | 用户 | 时间
|
0cceb6
|
1 |
package com.jcdm.quartz.service; |
Y |
2 |
|
|
3 |
import java.util.List; |
|
4 |
import com.jcdm.quartz.domain.SysJobLog; |
|
5 |
|
|
6 |
/** |
|
7 |
* 定时任务调度日志信息信息 服务层 |
|
8 |
* |
|
9 |
* @author jc |
|
10 |
*/ |
|
11 |
public interface ISysJobLogService |
|
12 |
{ |
|
13 |
/** |
|
14 |
* 获取quartz调度器日志的计划任务 |
|
15 |
* |
|
16 |
* @param jobLog 调度日志信息 |
|
17 |
* @return 调度任务日志集合 |
|
18 |
*/ |
|
19 |
public List<SysJobLog> selectJobLogList(SysJobLog jobLog); |
|
20 |
|
|
21 |
/** |
|
22 |
* 通过调度任务日志ID查询调度信息 |
|
23 |
* |
|
24 |
* @param jobLogId 调度任务日志ID |
|
25 |
* @return 调度任务日志对象信息 |
|
26 |
*/ |
|
27 |
public SysJobLog selectJobLogById(Long jobLogId); |
|
28 |
|
|
29 |
/** |
|
30 |
* 新增任务日志 |
|
31 |
* |
|
32 |
* @param jobLog 调度日志信息 |
|
33 |
*/ |
|
34 |
public void addJobLog(SysJobLog jobLog); |
|
35 |
|
|
36 |
/** |
|
37 |
* 批量删除调度日志信息 |
|
38 |
* |
|
39 |
* @param logIds 需要删除的日志ID |
|
40 |
* @return 结果 |
|
41 |
*/ |
|
42 |
public int deleteJobLogByIds(Long[] logIds); |
|
43 |
|
|
44 |
/** |
|
45 |
* 删除任务日志 |
|
46 |
* |
|
47 |
* @param jobId 调度日志ID |
|
48 |
* @return 结果 |
|
49 |
*/ |
|
50 |
public int deleteJobLogById(Long jobId); |
|
51 |
|
|
52 |
/** |
|
53 |
* 清空任务日志 |
|
54 |
*/ |
|
55 |
public void cleanJobLog(); |
|
56 |
} |