org.jppf.client.loadbalancer
Class LoadBalancer.RemoteExecutionThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.jppf.client.loadbalancer.LoadBalancer.ExecutionThread
          extended by org.jppf.client.loadbalancer.LoadBalancer.RemoteExecutionThread
All Implemented Interfaces:
Runnable
Enclosing class:
LoadBalancer

public class LoadBalancer.RemoteExecutionThread
extends LoadBalancer.ExecutionThread

Instances of this class are intended to perform remote task executions concurrently.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class org.jppf.client.loadbalancer.LoadBalancer.ExecutionThread
exception, job, tasks
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
LoadBalancer.RemoteExecutionThread(List<JPPFTask> tasks, JPPFJob job, AbstractJPPFClientConnection connection)
          Initialize this execution thread for remote excution.
 
Method Summary
 void run()
          Perform the execution.
 
Methods inherited from class org.jppf.client.loadbalancer.LoadBalancer.ExecutionThread
getException
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancer.RemoteExecutionThread

public LoadBalancer.RemoteExecutionThread(List<JPPFTask> tasks,
                                          JPPFJob job,
                                          AbstractJPPFClientConnection connection)
Initialize this execution thread for remote excution.

Parameters:
tasks - the tasks to execute.
job - the execution to perform.
connection - the connection to the driver to use.
Method Detail

run

public void run()
Perform the execution.

Specified by:
run in interface Runnable
Specified by:
run in class LoadBalancer.ExecutionThread
See Also:
Runnable.run()


Copyright © 2005-2010 JPPF Team.