@NotThreadSafe public final class TaskExecutor extends Object implements Runnable
Constructor and Description |
---|
TaskExecutor(long jobId,
int taskId,
JobConfig jobConfig,
Serializable taskArgs,
RunTaskContext context,
TaskExecutorManager taskExecutorManager)
Creates a new instance of
TaskExecutor . |
public TaskExecutor(long jobId, int taskId, JobConfig jobConfig, Serializable taskArgs, RunTaskContext context, TaskExecutorManager taskExecutorManager)
TaskExecutor
.jobId
- the job idtaskId
- the task idjobConfig
- the job configurationtaskArgs
- the arguments passed to the taskcontext
- the context on the workertaskExecutorManager
- the task executor managerCopyright © 2023. All Rights Reserved.