|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.testing.RoutingTableTest
This tutorial shows how to setup a FreePastry node using the Socket Protocol.
Field Summary | |
static boolean |
logHeavy
DESCRIBE THE FIELD |
static int |
msgSendRate
DESCRIBE THE FIELD |
static int |
rtMaintInterval
DESCRIBE THE FIELD |
static int |
T_ave
DESCRIBE THE FIELD |
static int |
T_ctr
DESCRIBE THE FIELD |
static int |
T_total
DESCRIBE THE FIELD |
static boolean |
useMaintenance
DESCRIBE THE FIELD |
static boolean |
useMessaging
DESCRIBE THE FIELD |
Constructor Summary | |
RoutingTableTest(int numNodes,
int numKill,
Environment env)
This constructor launches numNodes PastryNodes. |
Method Summary | |
PastryNode |
createNode()
DESCRIBE THE METHOD |
void |
createNodes(int numNodes,
int numToKill)
DESCRIBE THE METHOD |
static void |
main(java.lang.String[] args)
Usage: java [-cp FreePastry- |
void |
sendSomeMessages()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean useMaintenance
public static boolean useMessaging
public static int rtMaintInterval
public static int msgSendRate
public static final boolean logHeavy
public static int T_total
public static int T_ctr
public static int T_ave
Constructor Detail |
public RoutingTableTest(int numNodes, int numKill, Environment env) throws java.lang.Exception
numNodes
- the number of nodes to create in this JVMenv
- the environment for these nodesnumKill
- DESCRIBE THE PARAMETER
java.lang.Exception
- DESCRIBE THE EXCEPTIONMethod Detail |
public void createNodes(int numNodes, int numToKill) throws java.lang.InterruptedException
numNodes
- DESCRIBE THE PARAMETERnumToKill
- DESCRIBE THE PARAMETER
java.lang.InterruptedException
- DESCRIBE THE EXCEPTIONpublic void sendSomeMessages()
public PastryNode createNode() throws java.lang.InterruptedException
java.lang.InterruptedException
- DESCRIBE THE EXCEPTIONpublic 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 |