Package org.jgroups.tests
Class BufferSizeTest
java.lang.Object
org.jgroups.tests.BufferSizeTest
Tests max datagram and multicast socket buffer sizes
- Since:
- 5.3.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidhelp()static voidprotected static voidsetBufferSize(DatagramSocket sock, int size, boolean recv_buf) protected static voidstart(int size)
-
Constructor Details
-
BufferSizeTest
public BufferSizeTest()
-
-
Method Details
-
start
- Throws:
IOException
-
setBufferSize
protected static void setBufferSize(DatagramSocket sock, int size, boolean recv_buf) throws SocketException - Throws:
SocketException
-
main
- Throws:
IOException
-
help
protected static void help()
-