Package org.jgroups.tests.perf
Class PerfUtil.Results
- java.lang.Object
-
- org.jgroups.tests.perf.PerfUtil.Results
-
- All Implemented Interfaces:
Streamable
- Enclosing class:
- PerfUtil
public static class PerfUtil.Results extends java.lang.Object implements Streamable
-
-
Field Summary
Fields Modifier and Type Field Description protected AverageMinMaxavg_getsprotected AverageMinMaxavg_putsprotected longnum_getsprotected longnum_putsprotected longtotal_time
-
Constructor Summary
Constructors Constructor Description Results()Results(int num_gets, int num_puts, long total_time, AverageMinMax avg_gets, AverageMinMax avg_puts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadFrom(java.io.DataInput in)Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedjava.lang.StringtoString()voidwriteTo(java.io.DataOutput out)Write the entire state of the current object (including superclasses) to outstream.
-
-
-
Field Detail
-
num_gets
protected long num_gets
-
num_puts
protected long num_puts
-
total_time
protected long total_time
-
avg_gets
protected AverageMinMax avg_gets
-
avg_puts
protected AverageMinMax avg_puts
-
-
Constructor Detail
-
Results
public Results()
-
Results
public Results(int num_gets, int num_puts, long total_time, AverageMinMax avg_gets, AverageMinMax avg_puts)
-
-
Method Detail
-
writeTo
public void writeTo(java.io.DataOutput out) throws java.io.IOExceptionDescription 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:
java.io.IOException
-
readFrom
public void readFrom(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundExceptionDescription 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:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-