org.jppf.client.loadbalancer
Class LoadBalancer.LocalExecutionThread

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

public class LoadBalancer.LocalExecutionThread
extends LoadBalancer.ExecutionThread

Instances of this class are intended to perform local 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.LocalExecutionThread(List<JPPFTask> tasks, JPPFJob job)
          Initialize this execution thread for local 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.LocalExecutionThread

public LoadBalancer.LocalExecutionThread(List<JPPFTask> tasks,
                                         JPPFJob job)
Initialize this execution thread for local excution.

Parameters:
tasks - the tasks to execute.
job - the execution to perform.
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.