Package org.jgroups.tests
Class UnicastTest
java.lang.Object
org.jgroups.tests.UnicastTest
Perf tests the UNICAST protocol by sending unicast messages between a sender and a receiver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JChannelprotected static final byteprotected booleanprotected intprotected intprotected intprotected booleanprotected final UnicastTest.MyReceiverprotected longprotected static final byte -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
channel
-
receiver
-
sleep_time
protected long sleep_time -
oob
protected boolean oob -
dont_bundle
protected boolean dont_bundle -
num_threads
protected int num_threads -
num_msgs
protected int num_msgs -
msg_size
protected int msg_size -
START
protected static final byte START- See Also:
-
DATA
protected static final byte DATA- See Also:
-
-
Constructor Details
-
UnicastTest
public UnicastTest()
-
-
Method Details
-
init
- Throws:
Exception
-
connect
- Throws:
Exception
-
disconnect
protected void disconnect() -
eventLoop
- Throws:
Exception
-
printConnections
protected void printConnections() -
removeAllConnections
protected void removeAllConnections() -
sendMessages
- Throws:
Exception
-
setSenderThreads
- Throws:
Exception
-
setNumMessages
- Throws:
Exception
-
setMessageSize
- Throws:
Exception
-
printView
void printView() -
getReceiver
-
main
-
help
static void help()
-