public class StressUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_PORT |
static int |
BASE_STREAM_ID |
static int |
CLIENT_RECV_COUNT |
static int |
CLIENT_SEND_COUNT |
static int |
MDC_REQ_CONTROL_OFFSET |
static int |
MDC_REQ_OFFSET_1 |
static int |
MDC_REQ_OFFSET_2 |
static int |
MDC_RSP_CONTROL_OFFSET |
static int |
MDC_RSP_OFFSET_1 |
static int |
MDC_RSP_OFFSET_2 |
static int |
MDC_STREAM_ID |
static int |
MDC_STREAM_ID_OFFSET |
static List<Integer> |
MTU_LENGTHS |
static long |
REQ_GROUP_TAG |
static long |
RSP_GROUP_TAG |
static int |
SERVER_RECV_COUNT |
static int |
SERVER_SEND_COUNT |
static int |
UNICAST_REQ_OFFSET |
static int |
UNICAST_RSP_OFFSET |
static int |
UNICAST_STREAM_ID |
static int |
UNICAST_STREAM_ID_OFFSET |
| Constructor and Description |
|---|
StressUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
info(String message)
Log a simple message.
|
static ChannelUriStringBuilder |
unicastReqChannel(String serverAddress)
Start forming unicast request channel for the specific server.
|
static ChannelUriStringBuilder |
unicastRspChannel(String clientAddress)
Start forming unicast response channel for the specific server.
|
public static final int BASE_PORT
public static final int BASE_STREAM_ID
public static final int UNICAST_REQ_OFFSET
public static final int UNICAST_RSP_OFFSET
public static final int UNICAST_STREAM_ID_OFFSET
public static final int MDC_STREAM_ID_OFFSET
public static final int UNICAST_STREAM_ID
public static final int MDC_STREAM_ID
public static final int MDC_REQ_OFFSET_1
public static final int MDC_REQ_OFFSET_2
public static final int MDC_REQ_CONTROL_OFFSET
public static final int MDC_RSP_OFFSET_1
public static final int MDC_RSP_OFFSET_2
public static final int MDC_RSP_CONTROL_OFFSET
public static final long RSP_GROUP_TAG
public static final long REQ_GROUP_TAG
public static final int SERVER_RECV_COUNT
public static final int SERVER_SEND_COUNT
public static final int CLIENT_RECV_COUNT
public static final int CLIENT_SEND_COUNT
public static void info(String message)
message - to be loggedpublic static ChannelUriStringBuilder unicastReqChannel(String serverAddress)
serverAddress - as the endpoint receiver of the unicast traffic.public static ChannelUriStringBuilder unicastRspChannel(String clientAddress)
clientAddress - as the endpoint receiver of the unicast traffic.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.