Package org.jgroups.tests.perf
Class MPerfRpc.Stats
- java.lang.Object
-
- org.jgroups.tests.perf.MPerfRpc.Stats
-
- Enclosing class:
- MPerfRpc
protected class MPerfRpc.Stats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected longnum_msgs_receivedprotected longseqnoprotected longstartprotected longstop
-
Constructor Summary
Constructors Modifier Constructor Description protectedStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessage(long seqno, boolean check_order)Adds the message and checks whether the messages are received in FIFO order.booleanisDone()voidreset()voidstop()java.lang.StringtoString()
-
-
-
Method Detail
-
reset
public void reset()
-
stop
public void stop()
-
isDone
public boolean isDone()
-
addMessage
public void addMessage(long seqno, boolean check_order)Adds the message and checks whether the messages are received in FIFO order. If we have multiple threads (check_order=false), then this check canot be performed- Parameters:
seqno-check_order-
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-