com.quartzdesk.api.agent.log
Class WorkerThreadRunnable
java.lang.Object
com.quartzdesk.api.agent.log.WorkerThreadRunnable
- All Implemented Interfaces:
- Runnable
public class WorkerThreadRunnable
- extends Object
- implements Runnable
An implementation of the Runnable interface that can be used by job implementation classes
to wrap a Runnable instance with the business logic to be executed by a worker thread spawned from
the specified job execution thread. This wrapped allows QuartzDesk to intercept log messages produced by
executed worker threads.
- Version:
- $Id:$
- Author:
- Jan Moravec
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkerThreadRunnable
public WorkerThreadRunnable(Thread jobThread,
Runnable workerRunnable)
- Creates a new
WorkerThreadRunnable instance for the specified job execution thread.
- Parameters:
jobThread - a job execution thread.workerRunnable - the wrapped Runnable instance with the worker thread's business logic.
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2013–2017 QuartzDesk.com. All rights reserved.