- All Implemented Interfaces:
public class ExecutionRunner
- extends java.lang.Object
- implements java.lang.Runnable
This class is to be used to pick up execution requests and actually run
them. A single instance can be used across any number of threads.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected JChannel ch
protected Executing _execProt
protected static final Log _logger
public ExecutionRunner(JChannel channel)
public void setChannel(JChannel ch)
public void run()
- Specified by:
run in interface
public java.util.Map<java.lang.Thread,java.lang.Runnable> getCurrentRunningTasks()
- Returns a copy of the runners being used with the runner and what threads.
If a thread is not currently running a task it will return with a null
value. This map is a copy and can be modified if necessary without
- map of all threads that are active with this runner. If the
thread is currently running a job the runnable value will be
populated otherwise null would mean the thread is waiting
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.