|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peersim.vector.VectControl peersim.vector.VectorObserver
public class VectorObserver
This class computes and reports statistics information about a vector.
Provided statistics include average, max, min, variance,
etc. Values are printed according to the string format of IncrementalStats.toString()
. Single nodes may avoid to be counted in the
statistics by throwing an UnsupportedOperationException in the
getter method.
VectControl
,
peersim.vector
Parameter Summary |
---|
Parameters inherited from class peersim.vector.VectControl |
---|
protocol, setter, getter |
Field Summary |
---|
Fields inherited from class peersim.vector.VectControl |
---|
getter, setter |
Constructor Summary | |
---|---|
VectorObserver(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
boolean |
execute()
Prints statistics information about a vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VectorObserver(java.lang.String prefix)
prefix
- the configuration prefix for this classMethod Detail |
---|
public boolean execute()
IncrementalStats.toString()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |