@NotThreadSafe public final class TaskExecutor extends Object implements Runnable
Constructor and Description |
---|
TaskExecutor(long jobId,
long taskId,
RunTaskCommand runTaskCommand,
RunTaskContext context,
TaskExecutorManager taskExecutorManager)
Creates a new instance of
TaskExecutor . |
public TaskExecutor(long jobId, long taskId, RunTaskCommand runTaskCommand, RunTaskContext context, TaskExecutorManager taskExecutorManager)
TaskExecutor
.jobId
- the job idtaskId
- the task idrunTaskCommand
- the run task commandcontext
- the context on the workertaskExecutorManager
- the task executor managerCopyright © 2023. All Rights Reserved.