Rice Pastry API

rice.pastry.direct
Class TestRecord

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

public abstract class TestRecord
extends java.lang.Object

DESCRIBE THE CLASS

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh

Field Summary
protected  int nNodes
          DESCRIBE THE FIELD
protected  int nTests
          DESCRIBE THE FIELD
 
Constructor Summary
TestRecord(int n, int k)
          Constructor.
 
Method Summary
abstract  void doneTest()
          DESCRIBE THE METHOD
 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
DESCRIBE THE FIELD


nTests

protected int nTests
DESCRIBE THE FIELD

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()
DESCRIBE THE METHOD


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection