|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.testing.MemoryTest
The purpose of this test is to verify that FreePastry is properly shutting down, without having to destroy the JVM.
Constructor Summary | |
MemoryTest()
|
Method Summary | |
static void |
main(java.lang.String[] args)
The main program for the MemoryTest class |
static void |
testDirect()
Same thing, but with direct |
static void |
testMultiEnvironment()
Same test as testOneEnvironment, but also creates/destroys the environment for each node. |
static void |
testOneEnvironment()
The idea is to keep a ring of about 10 nodes alive, but one by one recycle the nodes out. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MemoryTest()
Method Detail |
public static void testOneEnvironment() throws java.lang.Exception
java.lang.Exception
- DESCRIBE THE EXCEPTIONpublic static void testMultiEnvironment()
public static void testDirect()
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments
java.lang.Exception
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |