public class NioClientTest extends Object
NioServerPerfTest
as serverModifier 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
Exception
protected void sendMessages(InetAddress host, boolean direct, int num_threads) throws Exception
Exception
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.