public class NioClientTest extends Object
NioServerPerfTest as server| Modifier and Type | Class and Description |
|---|---|
protected class |
NioClientTest.Sender |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
running |
protected NioClientTest.Sender[] |
senders |
protected AtomicLong |
total_bytes_sent |
protected AtomicLong |
total_msgs |
| Constructor and Description |
|---|
NioClientTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static ByteBuffer |
create(int size,
boolean direct) |
static void |
main(String[] args) |
protected void |
sendMessages(InetAddress host,
boolean direct,
int num_threads) |
protected void |
start(InetAddress host,
boolean direct,
int num_threads) |
protected volatile boolean running
protected final AtomicLong total_bytes_sent
protected final AtomicLong total_msgs
protected NioClientTest.Sender[] senders
protected static ByteBuffer create(int size, boolean direct)
protected void start(InetAddress host, boolean direct, int num_threads) throws Exception
Exceptionprotected void sendMessages(InetAddress host, boolean direct, int num_threads) throws Exception
ExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.