com.github.ltsopensource.tasktracker.runner
Class JobRunnerDelegate
java.lang.Object
com.github.ltsopensource.tasktracker.runner.JobRunnerDelegate
- All Implemented Interfaces:
- Runnable
public class JobRunnerDelegate
- extends Object
- implements Runnable
Job Runner 的代理类,
1. 做一些错误处理之类的
2. 监控统计
3. Context信息设置
- Author:
- Robert HG (254963746@qq.com) on 8/16/14.
JobRunnerDelegate
public JobRunnerDelegate(TaskTrackerAppContext appContext,
com.github.ltsopensource.core.domain.JobMeta jobMeta,
RunnerCallback callback)
run
public void run()
- Specified by:
run in interface Runnable
currentThread
public Thread currentThread()
currentJob
public com.github.ltsopensource.core.domain.JobMeta currentJob()
Copyright © 2017. All rights reserved.