Rice Pastry API

rice.pastry.testing
Class PingTestRecord

java.lang.Object
  |
  +--rice.pastry.direct.TestRecord
        |
        +--rice.pastry.testing.PingTestRecord

public class PingTestRecord
extends TestRecord

PingAddress A performance test suite for pastry.

Version:
$Id: PingTestRecord.java,v 1.2 2002/11/20 07:55:26 druschel Exp $
Author:
Rongmei Zhang

Field Summary
 
Fields inherited from class rice.pastry.direct.TestRecord
nNodes, nTests
 
Constructor Summary
PingTestRecord(int n, int k)
           
 
Method Summary
 void addDistance(double rDistance)
           
 void addHops(int index)
           
 void doneTest()
           
 double getAveDistance()
           
 double getAveHops()
           
 double[] getProbability()
           
 
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

PingTestRecord

public PingTestRecord(int n,
                      int k)
Method Detail

doneTest

public void doneTest()
Specified by:
doneTest in class TestRecord

addHops

public void addHops(int index)

addDistance

public void addDistance(double rDistance)

getAveHops

public double getAveHops()

getAveDistance

public double getAveDistance()

getProbability

public double[] getProbability()

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection