|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.util.newjvm.AbstractMasterJVM
edu.rice.cs.util.newjvm.IntegratedMasterSlaveTest.TestMasterJVM
private static class IntegratedMasterSlaveTest.TestMasterJVM
| Field Summary | |
|---|---|
private String |
_currentTest
|
private CompletionMonitor |
_justQuit
Field and lock used to signal slave quit events. |
private char |
_letter
Field and lock used to signal letter change events. |
private Object |
_letterLock
|
private IntegratedMasterSlaveTest.TestSlaveRemote |
_slave
Field and lock used to signal slave connected events. |
private static int |
WAIT_TIMEOUT
|
| Constructor Summary | |
|---|---|
IntegratedMasterSlaveTest.TestMasterJVM()
|
|
| Method Summary | |
|---|---|
char |
getLetter()
|
protected void |
handleSlaveConnected(SlaveRemote slave)
Callback for when the slave JVM has connected, and the bidirectional communications link has been established. |
protected void |
handleSlaveQuit(int status)
Callback for when the slave JVM has quit. |
protected void |
handleSlaveWontStart(Exception e)
Callback for when the slave JVM fails to either run or respond to SlaveRemote.start(edu.rice.cs.util.newjvm.MasterRemote). |
void |
runImmediateQuitTest()
In util-20020414-0647, if quitSlave were called between the time the slave was invoked and the time it registered, an IllegalStateException was thrown. |
void |
runTestSequence()
|
| Methods inherited from class edu.rice.cs.util.newjvm.AbstractMasterJVM |
|---|
checkStillAlive, dispose, invokeSlave, isDisposed, quitSlave |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.rice.cs.util.newjvm.MasterRemote |
|---|
checkStillAlive |
| Field Detail |
|---|
private static final int WAIT_TIMEOUT
private final CompletionMonitor _justQuit
private volatile IntegratedMasterSlaveTest.TestSlaveRemote _slave
private volatile char _letter
private final Object _letterLock
private volatile String _currentTest
| Constructor Detail |
|---|
public IntegratedMasterSlaveTest.TestMasterJVM()
| Method Detail |
|---|
public void runImmediateQuitTest()
throws Exception
Exception
public void runTestSequence()
throws Exception
Exceptionpublic char getLetter()
getLetter in interface IntegratedMasterSlaveTest.TestMasterRemoteprotected void handleSlaveConnected(SlaveRemote slave)
AbstractMasterJVM
handleSlaveConnected in class AbstractMasterJVMprotected void handleSlaveQuit(int status)
AbstractMasterJVM
handleSlaveQuit in class AbstractMasterJVMstatus - The exit code returned by the slave JVM.protected void handleSlaveWontStart(Exception e)
AbstractMasterJVMSlaveRemote.start(edu.rice.cs.util.newjvm.MasterRemote).
handleSlaveWontStart in class AbstractMasterJVMe - Exception that occurred during startup.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||