Package org.jgroups.tests.perf
Class MPerf.Result
java.lang.Object
org.jgroups.tests.perf.MPerf.Result
- All Implemented Interfaces:
Streamable
- Enclosing class:
MPerf
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedintsize()toString()voidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.
-
Field Details
-
time
protected long time -
msgs
protected long msgs -
sources
-
received
protected long[] received
-
-
Constructor Details
-
Result
public Result() -
Result
-
-
Method Details
-
size
public int size() -
writeTo
Description copied from interface:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Throws:
IOException
-
readFrom
Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Throws:
IOExceptionClassNotFoundException
-
toString
-