A C F G I L P R S T
A
- addTask(String, Task) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
添加任务
- addTasks(Map<String, Task>) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
添加多个任务
- alterAndRunTask(String, Task, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
修改并运行任务
- alterAndRunTasks(Map<String, Task>, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
修改并运行多个任务
- alterTask(String, Task, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
修改任务
- alterTasks(Map<String, Task>, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
修改多个任务
C
- cancelMaxRunNumber() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
取消运行次数限制
- com.github.mayp1998.taskExecutor.bean - 程序包 com.github.mayp1998.taskExecutor.bean
-
- com.github.mayp1998.taskExecutor.util - 程序包 com.github.mayp1998.taskExecutor.util
-
F
- finalize() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- finalize() - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
- finalize() - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskRunnable
-
G
- getAllTaskRunNumber() - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
- getAllTaskStatus() - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
获取所有任务队列中的任务状态:运行/暂停
- getCron() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getFuture() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getInstance() - 类 中的静态方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
获取对象,实现单例
- getMaxRunNumber() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getNewInstance() - 类 中的静态方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
额外创建新对象,不影响原单例对象的使用
- getNextTriggerTime() - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskRunnable
-
- getPeriod() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getRun() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getRunnable() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getStart() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- getTask(String) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
获取某个任务
- getTaskRunNumber(String) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
获取某任务的运行次数
- getTaskStatus(String) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
获取任务状态
I
- isRunNow() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- isType() - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
L
- LimitedTaskRunnable - com.github.mayp1998.taskExecutor.util中的类
-
- LimitedTaskRunnable(Task) - 类 的构造器com.github.mayp1998.taskExecutor.util.LimitedTaskRunnable
-
P
- pauseTask(String, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
暂停任务
- pauseTasks(List<String>, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
暂停多个任务
R
- run() - 类 中的方法com.github.mayp1998.taskExecutor.util.LimitedTaskRunnable
-
- run() - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskRunnable
-
- runTask(String, Task) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
添加并执行任务
- runTasks(Map<String, Task>) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
添加并执行多个任务
S
- setFuture(Future<?>) - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- setMaxRunNumber(int) - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
设置运行次数限制
- setRun(int) - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
- shutdownAll(boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
停止所有任务,并清空队列
- shutdownTask(String, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
关闭任务
- shutdownTasks(List<String>, boolean...) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
关闭多个任务
- startTask(String) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
执行任务,需先添加任务
- startTasks(List<String>) - 类 中的方法com.github.mayp1998.taskExecutor.util.TaskExecutor
-
执行多个任务,需先添加这些任务
- stop(boolean) - 类 中的方法com.github.mayp1998.taskExecutor.bean.Task
-
尝试终止此任务的调度
T
- Task - com.github.mayp1998.taskExecutor.bean中的类
-
任务类
- Task(Runnable) - 类 的构造器com.github.mayp1998.taskExecutor.bean.Task
-
立即执行一次任务,之后不再执行。
- Task(Runnable, Date, Integer, Boolean...) - 类 的构造器com.github.mayp1998.taskExecutor.bean.Task
-
依据参数start,period,runNow(默认为false)的情况,共分为以下四种执行情况:
1.null,null,true/false:若为true则立即执行一次。
- Task(Runnable, String) - 类 的构造器com.github.mayp1998.taskExecutor.bean.Task
-
使用cron表达式表示任务运行周期
- TaskExecutor - com.github.mayp1998.taskExecutor.util中的类
-
任务调度工具类
- TaskRunnable - com.github.mayp1998.taskExecutor.util中的类
-
为适应Cron表达式,使用动态生成下次执行时间的方法
- TaskRunnable(Runnable, String, Task, ScheduledExecutorService) - 类 的构造器com.github.mayp1998.taskExecutor.util.TaskRunnable
-
A C F G I L P R S T
Copyright © 2019. All rights reserved.