Rice Pastry API

rice.pastry.direct
Class TestRecord

java.lang.Object
  extended by rice.pastry.direct.TestRecord
Direct Known Subclasses:
PingTestRecord

public abstract class TestRecord
extends java.lang.Object


Field Summary
protected  int nNodes
           
protected  int nTests
           
 
Constructor Summary
TestRecord(int n, int k)
          Constructor.
 
Method Summary
abstract  void doneTest()
           
 int getNodeNumber()
          returns the number of nodes
 int getTestNumber()
          returns the number of tests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nNodes

protected int nNodes

nTests

protected int nTests
Constructor Detail

TestRecord

public TestRecord(int n,
                  int k)
Constructor.

Parameters:
n - number of nodes
k - number of tests
Method Detail

getNodeNumber

public int getNodeNumber()
returns the number of nodes

Returns:
the number of nodes

getTestNumber

public int getTestNumber()
returns the number of tests

Returns:
the number of tests

doneTest

public abstract void doneTest()

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection