Package org.jgroups.tests.perf
Class PerfUtil.Results
java.lang.Object
org.jgroups.tests.perf.PerfUtil.Results
- All Implemented Interfaces:
Streamable
- Enclosing class:
PerfUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AverageMinMaxprotected AverageMinMaxprotected longprotected longprotected long -
Constructor Summary
ConstructorsConstructorDescriptionResults()Results(int num_gets, int num_puts, long total_time, AverageMinMax avg_gets, AverageMinMax avg_puts) -
Method Summary
Modifier and TypeMethodDescriptionvoidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedtoString()voidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.
-
Field Details
-
num_gets
protected long num_gets -
num_puts
protected long num_puts -
total_time
protected long total_time -
avg_gets
-
avg_puts
-
-
Constructor Details
-
Results
public Results() -
Results
public Results(int num_gets, int num_puts, long total_time, AverageMinMax avg_gets, AverageMinMax avg_puts)
-
-
Method Details
-
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
-