Class MPerfRpc.Result

java.lang.Object
org.jgroups.tests.perf.MPerfRpc.Result
All Implemented Interfaces:
Streamable
Enclosing class:
MPerfRpc

protected static class MPerfRpc.Result extends Object implements Streamable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected long
     
    protected long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Result(long time, long msgs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed
    int
     
     
    void
    Write the entire state of the current object (including superclasses) to outstream.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • time

      protected long time
    • msgs

      protected long msgs
  • Constructor Details

    • Result

      public Result()
    • Result

      public Result(long time, long msgs)
  • Method Details

    • size

      public int size()
    • writeTo

      public void writeTo(DataOutput out) throws IOException
      Description copied from interface: Streamable
      Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed
      Specified by:
      writeTo in interface Streamable
      Throws:
      IOException
    • readFrom

      public void readFrom(DataInput in) throws IOException
      Description copied from interface: Streamable
      Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed
      Specified by:
      readFrom in interface Streamable
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object