Package org.jgroups.tests
Class NioClientTest
java.lang.Object
org.jgroups.tests.NioClientTest
NIO based client for measuring heap-based vs direct byte buffers. Use
NioServerPerfTest as server- Since:
- 3.6.4
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected NioClientTest.Sender[]protected final LongAdderprotected final LongAdder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ByteBuffercreate(int size, boolean direct) static voidprotected voidsendMessages(InetAddress host, boolean direct, int num_threads) protected voidstart(InetAddress host, boolean direct, int num_threads)