randoop.experiments
Class MachineManager

Object
  extended by Thread
      extended by MachineManager
All Implemented Interfaces:
Runnable

public class MachineManager
extends Thread

A thread that issues make targets on a specified machine. The manager enters a loop. At each iteration, it asks its spawner for the next target to execute. If there are no more targets, the thread dies. If there is a target and this manager's machine name is "local", the manager issues the command make -C $RANDOOP_HOME/systemtests If the machine name is other than "local", the target issues the command ssh make -C $RANDOOP_HOME/systemtests


Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
Modifier and Type Field and Description
protected  String currentTarget
           
protected  Process fproc
           
protected  boolean fswapOut
           
protected  File tmp
           
 
Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Constructor and Description
MachineManager(String machine, MultiMachineRunner spawner, boolean stdout_to_file)
           
 
Method Summary
Modifier and Type Method and Description
 void run()
           
 
Methods inherited from class Thread
activeCount, checkAccess, 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fproc

protected Process fproc

fswapOut

protected boolean fswapOut

tmp

protected File tmp

currentTarget

protected String currentTarget
Constructor Detail

MachineManager

public MachineManager(String machine,
                      MultiMachineRunner spawner,
                      boolean stdout_to_file)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread