Package org.jgroups.tests.perf
Class MPerfRpc.Stats
java.lang.Object
org.jgroups.tests.perf.MPerfRpc.Stats
- Enclosing class:
MPerfRpc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected longprotected longprotected long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
start
protected long start -
stop
protected long stop -
num_msgs_received
protected long num_msgs_received -
seqno
protected long seqno
-
-
Constructor Details
-
Stats
protected Stats()
-
-
Method Details
-
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
-