public static class AeronCluster.Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_MEMBER_ENDPOINTS_DEFAULT
Default comma separated list of cluster member endpoints.
|
static String |
CLUSTER_MEMBER_ENDPOINTS_PROP_NAME
Property name for the comma separated list of cluster member endpoints for use with unicast.
|
static String |
EGRESS_CHANNEL_DEFAULT
Channel for receiving response messages from a cluster.
|
static String |
EGRESS_CHANNEL_PROP_NAME
Channel for receiving response messages from a cluster.
|
static int |
EGRESS_STREAM_ID_DEFAULT
Default stream id within a channel for receiving messages from a cluster.
|
static String |
EGRESS_STREAM_ID_PROP_NAME
Stream id within a channel for receiving messages from a cluster.
|
static String |
INGRESS_CHANNEL_DEFAULT
Channel for sending messages to a cluster.
|
static String |
INGRESS_CHANNEL_PROP_NAME
Channel for sending messages to a cluster.
|
static int |
INGRESS_STREAM_ID_DEFAULT
Default stream id within a channel for sending messages to a cluster.
|
static String |
INGRESS_STREAM_ID_PROP_NAME
Stream id within a channel for sending messages to a cluster.
|
static long |
MESSAGE_TIMEOUT_DEFAULT_NS
Default timeout when waiting on a message to be sent or received.
|
static String |
MESSAGE_TIMEOUT_PROP_NAME
Timeout when waiting on a message to be sent or received.
|
static int |
PROTOCOL_MAJOR_VERSION |
static int |
PROTOCOL_MINOR_VERSION |
static int |
PROTOCOL_PATCH_VERSION |
static int |
PROTOCOL_SEMANTIC_VERSION |
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
static String |
clusterMemberEndpoints()
The value
CLUSTER_MEMBER_ENDPOINTS_DEFAULT or system property
CLUSTER_MEMBER_ENDPOINTS_PROP_NAME if set. |
static String |
egressChannel()
The value
EGRESS_CHANNEL_DEFAULT or system property
EGRESS_CHANNEL_PROP_NAME if set. |
static int |
egressStreamId()
The value
EGRESS_STREAM_ID_DEFAULT or system property
EGRESS_STREAM_ID_PROP_NAME if set. |
static String |
ingressChannel()
The value
INGRESS_CHANNEL_DEFAULT or system property
INGRESS_CHANNEL_PROP_NAME if set. |
static int |
ingressStreamId()
The value
INGRESS_STREAM_ID_DEFAULT or system property
INGRESS_STREAM_ID_PROP_NAME if set. |
static long |
messageTimeoutNs()
The timeout in nanoseconds to wait for a message.
|
public static final int PROTOCOL_MAJOR_VERSION
public static final int PROTOCOL_MINOR_VERSION
public static final int PROTOCOL_PATCH_VERSION
public static final int PROTOCOL_SEMANTIC_VERSION
public static final String MESSAGE_TIMEOUT_PROP_NAME
public static final long MESSAGE_TIMEOUT_DEFAULT_NS
public static final String CLUSTER_MEMBER_ENDPOINTS_PROP_NAME
INGRESS_CHANNEL_PROP_NAME
when using UDP unicast.
"0=endpoint,1=endpoint,2=endpoint"
Each member of the list will be substituted for the endpoint in the INGRESS_CHANNEL_PROP_NAME
value.
public static final String CLUSTER_MEMBER_ENDPOINTS_DEFAULT
public static final String INGRESS_CHANNEL_PROP_NAME
CLUSTER_MEMBER_ENDPOINTS_PROP_NAME
is used to substitute the endpoints from
the CLUSTER_MEMBER_ENDPOINTS_PROP_NAME
list.public static final String INGRESS_CHANNEL_DEFAULT
public static final String INGRESS_STREAM_ID_PROP_NAME
public static final int INGRESS_STREAM_ID_DEFAULT
public static final String EGRESS_CHANNEL_PROP_NAME
public static final String EGRESS_CHANNEL_DEFAULT
public static final String EGRESS_STREAM_ID_PROP_NAME
public static final int EGRESS_STREAM_ID_DEFAULT
public static long messageTimeoutNs()
MESSAGE_TIMEOUT_PROP_NAME
public static String clusterMemberEndpoints()
CLUSTER_MEMBER_ENDPOINTS_DEFAULT
or system property
CLUSTER_MEMBER_ENDPOINTS_PROP_NAME
if set.CLUSTER_MEMBER_ENDPOINTS_DEFAULT
or system property
CLUSTER_MEMBER_ENDPOINTS_PROP_NAME
if set.public static String ingressChannel()
INGRESS_CHANNEL_DEFAULT
or system property
INGRESS_CHANNEL_PROP_NAME
if set.INGRESS_CHANNEL_DEFAULT
or system property
INGRESS_CHANNEL_PROP_NAME
if set.public static int ingressStreamId()
INGRESS_STREAM_ID_DEFAULT
or system property
INGRESS_STREAM_ID_PROP_NAME
if set.INGRESS_STREAM_ID_DEFAULT
or system property
INGRESS_STREAM_ID_PROP_NAME
if set.public static String egressChannel()
EGRESS_CHANNEL_DEFAULT
or system property
EGRESS_CHANNEL_PROP_NAME
if set.EGRESS_CHANNEL_DEFAULT
or system property
EGRESS_CHANNEL_PROP_NAME
if set.public static int egressStreamId()
EGRESS_STREAM_ID_DEFAULT
or system property
EGRESS_STREAM_ID_PROP_NAME
if set.EGRESS_STREAM_ID_DEFAULT
or system property
EGRESS_STREAM_ID_PROP_NAME
if set.Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.