public static final class AeronArchive.Configuration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROL_CHANNEL_DEFAULT
Channel for sending control messages to an archive.
|
static String |
CONTROL_CHANNEL_PROP_NAME
Channel for sending control messages to an archive.
|
static int |
CONTROL_MTU_LENGTH_DEFAULT
MTU to reflect default for the control streams.
|
static String |
CONTROL_MTU_LENGTH_PROP_NAME
MTU length for control streams.
|
static String |
CONTROL_RESPONSE_CHANNEL_DEFAULT
Default channel for receiving control response messages from an archive.
|
static String |
CONTROL_RESPONSE_CHANNEL_PROP_NAME
Channel for receiving control response messages from an archive.
|
static int |
CONTROL_RESPONSE_STREAM_ID_DEFAULT
Stream id within a channel for receiving control messages from an archive.
|
static String |
CONTROL_RESPONSE_STREAM_ID_PROP_NAME
Stream id within a channel for receiving control messages from an archive.
|
static int |
CONTROL_STREAM_ID_DEFAULT
Stream id within a channel for sending control messages to an archive.
|
static String |
CONTROL_STREAM_ID_PROP_NAME
Stream id within a channel for sending control messages to an archive.
|
static int |
CONTROL_TERM_BUFFER_LENGTH_DEFAULT
Low term length for control channel reflects expected low bandwidth usage.
|
static String |
CONTROL_TERM_BUFFER_LENGTH_PROP_NAME
Term length for control streams.
|
static boolean |
CONTROL_TERM_BUFFER_SPARSE_DEFAULT
Overrides
Configuration.TERM_BUFFER_SPARSE_FILE_PROP_NAME for if term buffer files
are sparse on the control channel. |
static String |
CONTROL_TERM_BUFFER_SPARSE_PROP_NAME
Sparse term buffer indicator for control streams.
|
static String |
LOCAL_CONTROL_CHANNEL_DEFAULT
Channel for sending control messages to a driver local archive.
|
static String |
LOCAL_CONTROL_CHANNEL_PROP_NAME
Channel for sending control messages to a driver local archive.
|
static int |
LOCAL_CONTROL_STREAM_ID_DEFAULT
Stream id within a channel for sending control messages to a driver local archive.
|
static String |
LOCAL_CONTROL_STREAM_ID_PROP_NAME
Stream id within a channel for sending control messages to a driver local archive.
|
static long |
MESSAGE_TIMEOUT_DEFAULT_NS
Timeout when waiting on a message to be sent or received.
|
static String |
MESSAGE_TIMEOUT_PROP_NAME
Timeout in nanoseconds when waiting on a message to be sent or received.
|
static int |
PROTOCOL_MAJOR_VERSION
Major version of the network protocol from client to archive.
|
static int |
PROTOCOL_MINOR_VERSION
Minor version of the network protocol from client to archive.
|
static int |
PROTOCOL_PATCH_VERSION
Patch version of the network protocol from client to archive.
|
static int |
PROTOCOL_SEMANTIC_VERSION
Combined semantic version for the archive control protocol.
|
static String |
RECORDING_EVENTS_CHANNEL_DEFAULT
Channel for receiving progress events of recordings from an archive.
|
static String |
RECORDING_EVENTS_CHANNEL_PROP_NAME
Channel for receiving progress events of recordings from an archive.
|
static boolean |
RECORDING_EVENTS_ENABLED_DEFAULT
Channel enabled for recording progress events of recordings from an archive which defaults to true.
|
static String |
RECORDING_EVENTS_ENABLED_PROP_NAME
Is channel enabled for recording progress events of recordings from an archive.
|
static int |
RECORDING_EVENTS_STREAM_ID_DEFAULT
Stream id within a channel for receiving progress of recordings from an archive.
|
static String |
RECORDING_EVENTS_STREAM_ID_PROP_NAME
Stream id within a channel for receiving progress of recordings from an archive.
|
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
static String |
controlChannel()
The value
CONTROL_CHANNEL_DEFAULT or system property
CONTROL_CHANNEL_PROP_NAME if set. |
static int |
controlMtuLength()
MTU length to be used for control request and response streams.
|
static String |
controlResponseChannel()
The value
CONTROL_RESPONSE_CHANNEL_DEFAULT or system property
CONTROL_RESPONSE_CHANNEL_PROP_NAME if set. |
static int |
controlResponseStreamId()
The value
CONTROL_RESPONSE_STREAM_ID_DEFAULT or system property
CONTROL_RESPONSE_STREAM_ID_PROP_NAME if set. |
static int |
controlStreamId()
The value
CONTROL_STREAM_ID_DEFAULT or system property
CONTROL_STREAM_ID_PROP_NAME if set. |
static int |
controlTermBufferLength()
Term buffer length to be used for control request and response streams.
|
static boolean |
controlTermBufferSparse()
Should term buffer files be sparse for control request and response streams.
|
static String |
localControlChannel()
The value
LOCAL_CONTROL_CHANNEL_DEFAULT or system property
LOCAL_CONTROL_CHANNEL_PROP_NAME if set. |
static int |
localControlStreamId()
The value
LOCAL_CONTROL_STREAM_ID_DEFAULT or system property
LOCAL_CONTROL_STREAM_ID_PROP_NAME if set. |
static long |
messageTimeoutNs()
The timeout in nanoseconds to wait for a message.
|
static String |
recordingEventsChannel()
The value
RECORDING_EVENTS_CHANNEL_DEFAULT or system property
RECORDING_EVENTS_CHANNEL_PROP_NAME if set. |
static boolean |
recordingEventsEnabled()
Should the recording events stream be enabled.
|
static int |
recordingEventsStreamId()
The value
RECORDING_EVENTS_STREAM_ID_DEFAULT or system property
RECORDING_EVENTS_STREAM_ID_PROP_NAME if set. |
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
SemanticVersionpublic static final String MESSAGE_TIMEOUT_PROP_NAME
public static final long MESSAGE_TIMEOUT_DEFAULT_NS
public static final String CONTROL_CHANNEL_PROP_NAME
public static final String CONTROL_CHANNEL_DEFAULT
public static final String CONTROL_STREAM_ID_PROP_NAME
public static final int CONTROL_STREAM_ID_DEFAULT
public static final String LOCAL_CONTROL_CHANNEL_PROP_NAME
public static final String LOCAL_CONTROL_CHANNEL_DEFAULT
public static final String LOCAL_CONTROL_STREAM_ID_PROP_NAME
public static final int LOCAL_CONTROL_STREAM_ID_DEFAULT
public static final String CONTROL_RESPONSE_CHANNEL_PROP_NAME
Channel's endpoint can be specified explicitly (i.e. by providing address and port pair) or by using zero as a port number. Here is an example of valid response channels:
aeron:udp?endpoint=localhost:8020 - listen on port 8020 on localhost.aeron:udp?endpoint=192.168.10.10:8020 - listen on port 8020 on
192.168.10.10.aeron:udp?endpoint=localhost:0 - in this case the port is unspecified and the OS
will assign a free port from the
ephemeral port range.public static final String CONTROL_RESPONSE_CHANNEL_DEFAULT
public static final String CONTROL_RESPONSE_STREAM_ID_PROP_NAME
public static final int CONTROL_RESPONSE_STREAM_ID_DEFAULT
public static final String RECORDING_EVENTS_CHANNEL_PROP_NAME
public static final String RECORDING_EVENTS_CHANNEL_DEFAULT
public static final String RECORDING_EVENTS_STREAM_ID_PROP_NAME
public static final int RECORDING_EVENTS_STREAM_ID_DEFAULT
public static final String RECORDING_EVENTS_ENABLED_PROP_NAME
public static final boolean RECORDING_EVENTS_ENABLED_DEFAULT
public static final String CONTROL_TERM_BUFFER_SPARSE_PROP_NAME
public static final boolean CONTROL_TERM_BUFFER_SPARSE_DEFAULT
Configuration.TERM_BUFFER_SPARSE_FILE_PROP_NAME for if term buffer files
are sparse on the control channel.public static final String CONTROL_TERM_BUFFER_LENGTH_PROP_NAME
public static final int CONTROL_TERM_BUFFER_LENGTH_DEFAULT
public static final String CONTROL_MTU_LENGTH_PROP_NAME
public static final int CONTROL_MTU_LENGTH_DEFAULT
public static long messageTimeoutNs()
MESSAGE_TIMEOUT_PROP_NAMEpublic static boolean controlTermBufferSparse()
CONTROL_TERM_BUFFER_SPARSE_PROP_NAMEpublic static int controlTermBufferLength()
CONTROL_TERM_BUFFER_LENGTH_PROP_NAMEpublic static int controlMtuLength()
CONTROL_MTU_LENGTH_PROP_NAMEpublic static String controlChannel()
CONTROL_CHANNEL_DEFAULT or system property
CONTROL_CHANNEL_PROP_NAME if set.CONTROL_CHANNEL_DEFAULT or system property
CONTROL_CHANNEL_PROP_NAME if set.public static int controlStreamId()
CONTROL_STREAM_ID_DEFAULT or system property
CONTROL_STREAM_ID_PROP_NAME if set.CONTROL_STREAM_ID_DEFAULT or system property
CONTROL_STREAM_ID_PROP_NAME if set.public static String localControlChannel()
LOCAL_CONTROL_CHANNEL_DEFAULT or system property
LOCAL_CONTROL_CHANNEL_PROP_NAME if set.LOCAL_CONTROL_CHANNEL_DEFAULT or system property
LOCAL_CONTROL_CHANNEL_PROP_NAME if set.public static int localControlStreamId()
LOCAL_CONTROL_STREAM_ID_DEFAULT or system property
LOCAL_CONTROL_STREAM_ID_PROP_NAME if set.LOCAL_CONTROL_STREAM_ID_DEFAULT or system property
LOCAL_CONTROL_STREAM_ID_PROP_NAME if set.public static String controlResponseChannel()
CONTROL_RESPONSE_CHANNEL_DEFAULT or system property
CONTROL_RESPONSE_CHANNEL_PROP_NAME if set.CONTROL_RESPONSE_CHANNEL_DEFAULT or system property
CONTROL_RESPONSE_CHANNEL_PROP_NAME if set.public static int controlResponseStreamId()
CONTROL_RESPONSE_STREAM_ID_DEFAULT or system property
CONTROL_RESPONSE_STREAM_ID_PROP_NAME if set.CONTROL_RESPONSE_STREAM_ID_DEFAULT or system property
CONTROL_RESPONSE_STREAM_ID_PROP_NAME if set.public static String recordingEventsChannel()
RECORDING_EVENTS_CHANNEL_DEFAULT or system property
RECORDING_EVENTS_CHANNEL_PROP_NAME if set.RECORDING_EVENTS_CHANNEL_DEFAULT or system property
RECORDING_EVENTS_CHANNEL_PROP_NAME if set.public static int recordingEventsStreamId()
RECORDING_EVENTS_STREAM_ID_DEFAULT or system property
RECORDING_EVENTS_STREAM_ID_PROP_NAME if set.RECORDING_EVENTS_STREAM_ID_DEFAULT or system property
RECORDING_EVENTS_STREAM_ID_PROP_NAME if set.public static boolean recordingEventsEnabled()
RECORDING_EVENTS_ENABLED_PROP_NAMECopyright © 2014-2020 Real Logic Limited. All Rights Reserved.