|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.pastry.direct.TestRecord
rice.pastry.testing.PingTestRecord
PingAddress A performance test suite for pastry.
| Field Summary |
| Fields inherited from class rice.pastry.direct.TestRecord |
nNodes, nTests |
| Constructor Summary | |
PingTestRecord(int n,
int k)
Constructor for PingTestRecord. |
|
| Method Summary | |
void |
addDistance(double rDistance)
Adds a feature to the Distance attribute of the PingTestRecord object |
void |
addHops(int index)
Adds a feature to the Hops attribute of the PingTestRecord object |
void |
doneTest()
DESCRIBE THE METHOD |
double |
getAveDistance()
Gets the AveDistance attribute of the PingTestRecord object |
double |
getAveHops()
Gets the AveHops attribute of the PingTestRecord object |
double[] |
getProbability()
Gets the Probability attribute of the PingTestRecord object |
| Methods inherited from class rice.pastry.direct.TestRecord |
getNodeNumber, getTestNumber |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PingTestRecord(int n,
int k)
n - DESCRIBE THE PARAMETERk - DESCRIBE THE PARAMETER| Method Detail |
public double getAveHops()
public double getAveDistance()
public double[] getProbability()
public void doneTest()
doneTest in class TestRecordpublic void addHops(int index)
index - The feature to be added to the Hops attributepublic void addDistance(double rDistance)
rDistance - The feature to be added to the Distance attribute
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||