public class SchedTask
extends cn.ponfee.disjob.common.model.BaseEntity
| 限定符和类型 | 字段和说明 |
|---|---|
static Comparator<SchedTask> |
TASK_NO_COMPARATOR |
| 构造器和说明 |
|---|
SchedTask() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isExecuting() |
boolean |
isFailure() |
boolean |
isPausable() |
boolean |
isTerminal() |
boolean |
isWaiting() |
static SchedTask |
of(String taskParam,
long taskId,
long instanceId,
int taskNo,
int taskCount,
String worker)
Creates sched tasks
|
cn.ponfee.disjob.core.base.Worker |
worker() |
public static final Comparator<SchedTask> TASK_NO_COMPARATOR
public static SchedTask of(String taskParam, long taskId, long instanceId, int taskNo, int taskCount, String worker)
taskParam - the task paramtaskId - the task idinstanceId - the instance idtaskNo - the task notaskCount - the task countworker - the workerpublic cn.ponfee.disjob.core.base.Worker worker()
public boolean isWaiting()
public boolean isExecuting()
public boolean isPausable()
public boolean isTerminal()
public boolean isFailure()
Copyright © 2025. All rights reserved.