tapestry.patchwork
Class PatchworkTable.Observation
java.lang.Object
|
+--tapestry.patchwork.PatchworkTable.Observation
- Enclosing class:
- PatchworkTable
- public static class PatchworkTable.Observation
- extends Object
A Patchwork.Observation
object contains an
observation recorded by the patchwork stage.
- Version:
- $Id: PatchworkTable.java,v 1.2 2004/05/06 22:34:27 hweather Exp $
- Author:
- Jeremy Stribling
Constructor Summary |
PatchworkTable.Observation(NodeId observed_peer,
long value,
byte type)
Record the observed double value of type type
for the specified node id peer . |
Method Summary |
String |
toString()
Returns a string representation of this
Observation |
peer
protected NodeId peer
value
protected long value
type
protected byte type
PatchworkTable.Observation
public PatchworkTable.Observation(NodeId observed_peer,
long value,
byte type)
- Record the observed double value of type
type
for the specified node id peer
.
- Parameters:
observed_peer
- the node to which the statistic belongsvalue
- the value of the observed statistictype
- the type of statistic (i.e. LATENCY, etc)
toString
public String toString()
- Returns a string representation of this
Observation
- Overrides:
toString
in class Object