public class Configuration
extends java.lang.Object
MediaDriver
.Modifier and Type | Field and Description |
---|---|
static long |
CLIENT_LIVENESS_TIMEOUT_DEFAULT_NS
Default timeout for client liveness in nanoseconds.
|
static long |
CLIENT_LIVENESS_TIMEOUT_NS
Timeout for client liveness in nanoseconds.
|
static java.lang.String |
CLIENT_LIVENESS_TIMEOUT_PROP_NAME
Property name for
Aeron client liveness timeout. |
static int |
CMD_QUEUE_CAPACITY
Capacity for the command queues used between driver agents.
|
static int |
COMMAND_DRAIN_LIMIT
Limit for the number of commands drained in one operation.
|
static int |
CONDUCTOR_BUFFER_LENGTH
Conductor buffer length in bytes.
|
static int |
CONDUCTOR_BUFFER_LENGTH_DEFAULT
Default buffer length for conductor buffers between the client and the media driver conductor.
|
static java.lang.String |
CONDUCTOR_BUFFER_LENGTH_PROP_NAME
Length (in bytes) of the conductor buffer for control commands from the clients to the media driver conductor.
|
static java.lang.String |
CONDUCTOR_IDLE_STRATEGY
IdleStrategy to be employed by DriverConductor for ThreadingMode.DEDICATED
and ThreadingMode.SHARED_NETWORK . |
static java.lang.String |
CONDUCTOR_IDLE_STRATEGY_PROP_NAME
Property name for
IdleStrategy to be employed by DriverConductor for
ThreadingMode.DEDICATED and ThreadingMode.SHARED_NETWORK . |
static java.lang.String |
CONGESTION_CONTROL_STRATEGY_SUPPLIER
CongestionControlSupplier to be employed for receivers. |
static java.lang.String |
CONGESTION_CONTROL_STRATEGY_SUPPLIER_PROP_NAME
Property name for
CongestionControlSupplier to be employed for receivers. |
static java.lang.String |
COUNTER_FREE_TO_REUSE_TIMEOUT_PROP_NAME
Timeout between a counter being freed and being reused.
|
static int |
COUNTERS_METADATA_BUFFER_LENGTH |
static int |
COUNTERS_VALUES_BUFFER_LENGTH
Length of the memory mapped buffers for the system counters file.
|
static int |
COUNTERS_VALUES_BUFFER_LENGTH_DEFAULT
Default length of the memory mapped buffers for the system counters file.
|
static java.lang.String |
COUNTERS_VALUES_BUFFER_LENGTH_PROP_NAME
Property name for length of the error buffer for the system counters.
|
static long |
DEFAULT_COUNTER_FREE_TO_REUSE_TIMEOUT_NS
Timeout between a counter being freed and being reused
|
static long |
DEFAULT_TIMER_INTERVAL_NS
Default interval in between checks for timers and timeouts.
|
static boolean |
DIR_DELETE_ON_START
Should driver attempt to an immediate forced delete of
CommonContext.AERON_DIR_PROP_NAME on start
if it exists. |
static java.lang.String |
DIR_DELETE_ON_START_PROP_NAME
Should driver attempt to an immediate forced delete of
CommonContext.AERON_DIR_PROP_NAME on start
if it exists. |
static boolean |
DIR_WARN_IF_EXISTS
Warn if the Aeron directory exists.
|
static java.lang.String |
DIR_WARN_IF_EXISTS_PROP_NAME
Warn if the Aeron directory exists.
|
static int |
ERROR_BUFFER_LENGTH
Buffer length for the error buffer for the media driver.
|
static int |
ERROR_BUFFER_LENGTH_DEFAULT
Default buffer length for the error buffer for the media driver.
|
static java.lang.String |
ERROR_BUFFER_LENGTH_PROP_NAME
Property name for length of the memory mapped buffer for the distinct error log.
|
static int |
FILE_PAGE_SIZE
Page size for alignment of all files.
|
static int |
FILE_PAGE_SIZE_DEFAULT
Default page size for alignment of all files.
|
static java.lang.String |
FILE_PAGE_SIZE_PROP_NAME
Property name for page size to align all files to.
|
static long |
IDLE_MAX_PARK_NS
Maximum back-off park time which doubles on each interval stepping up from the min park idle.
|
static long |
IDLE_MAX_SPINS
Spin on no activity before backing off to yielding.
|
static long |
IDLE_MAX_YIELDS
Yield the thread so others can run before backing off to parking.
|
static long |
IDLE_MIN_PARK_NS
Park for the minimum period of time which is typically 50-55 microseconds on 64-bit non-virtualised Linux.
|
static long |
IMAGE_LIVENESS_TIMEOUT_DEFAULT_NS
Default timeout for
Image liveness in nanoseconds. |
static long |
IMAGE_LIVENESS_TIMEOUT_NS
Timeout for
Image liveness in nanoseconds. |
static java.lang.String |
IMAGE_LIVENESS_TIMEOUT_PROP_NAME
Property name for
Image liveness timeout. |
static int |
INITIAL_WINDOW_LENGTH_DEFAULT
Default initial window length for flow control sender to receiver purposes.
|
static java.lang.String |
INITIAL_WINDOW_LENGTH_PROP_NAME
Property name for length of the initial window which must be sufficient for Bandwidth Delay Produce (BDP).
|
static int |
IPC_MTU_LENGTH
Length of the MTU to use for sending messages via IPC
|
static java.lang.String |
IPC_MTU_LENGTH_PROP_NAME
Length of the maximum transmission unit of the media driver's protocol for IPC.
|
static int |
IPC_PUBLICATION_TERM_WINDOW_LENGTH
IPC Publication term window length for flow control in bytes.
|
static java.lang.String |
IPC_PUBLICATION_TERM_WINDOW_LENGTH_PROP_NAME
Property name for window limit for IPC publications.
|
static int |
IPC_TERM_BUFFER_LENGTH
IPC Term buffer length in bytes.
|
static java.lang.String |
IPC_TERM_BUFFER_LENGTH_PROP_NAME
Property name for term buffer length (in bytes) for IPC buffers.
|
static int |
LOSS_REPORT_BUFFER_LENGTH
Buffer length for the loss report buffer for the media driver.
|
static int |
LOSS_REPORT_BUFFER_LENGTH_DEFAULT
Default buffer length for the loss report buffer.
|
static java.lang.String |
LOSS_REPORT_BUFFER_LENGTH_PROP_NAME
Property name for length of the memory mapped buffer for the loss report buffer.
|
static long |
LOW_FILE_STORE_WARNING_THRESHOLD
Default value for low file storage warning threshold.
|
static long |
LOW_FILE_STORE_WARNING_THRESHOLD_DEFAULT
Default value for low file storage warning threshold.
|
static java.lang.String |
LOW_FILE_STORE_WARNING_THRESHOLD_PROP_NAME
Property name low file storage warning threshold.
|
static int |
MAX_RETRANSMITS_DEFAULT
Default max number of active retransmissions per connected stream.
|
static int |
MAX_UDP_PAYLOAD_LENGTH
Maximum UDP datagram payload size for IPv4.
|
static int |
MTU_LENGTH
Length of the MTU to use for sending messages.
|
static int |
MTU_LENGTH_DEFAULT
The default is conservative to avoid fragmentation on IPv4 or IPv6 over Ethernet with PPPoE header,
or for clouds such as Google, Oracle, and AWS.
|
static java.lang.String |
MTU_LENGTH_PROP_NAME
Length of the maximum transmission unit of the media driver's protocol.
|
static java.lang.String |
MULTICAST_FLOW_CONTROL_STRATEGY
FlowControl to be employed for multicast channels. |
static java.lang.String |
MULTICAST_FLOW_CONTROL_STRATEGY_PROP_NAME
Property name for
FlowControl to be employed for multicast channels. |
static java.lang.String |
MULTICAST_FLOW_CONTROL_STRATEGY_SUPPLIER
FlowControlSupplier to be employed for multicast channels. |
static java.lang.String |
MULTICAST_FLOW_CONTROL_STRATEGY_SUPPLIER_PROP_NAME
Property name for
FlowControlSupplier to be employed for unicast channels. |
static int |
NAK_GROUPSIZE_DEFAULT
Default group size estimate for NAK delay randomisation.
|
static int |
NAK_GRTT_DEFAULT
Default group RTT estimate for NAK delay randomization in milliseconds.
|
static long |
NAK_MAX_BACKOFF_DEFAULT
Default max backoff for NAK delay randomisation in milliseconds.
|
static OptimalMulticastDelayGenerator |
NAK_MULTICAST_DELAY_GENERATOR
Multicast NAK delay is immediate initial with delayed subsequent delay.
|
static long |
NAK_UNICAST_DELAY_DEFAULT_NS
Default Unicast NAK delay in nanoseconds.
|
static StaticDelayGenerator |
NAK_UNICAST_DELAY_GENERATOR
Unicast NAK delay is immediate initial with delayed subsequent delay.
|
static long |
PENDING_SETUPS_TIMEOUT_NS
Timeout on cleaning up pending SETUP state on subscriber.
|
static boolean |
PERFORM_STORAGE_CHECKS
Should storage checks should be performed when allocating files.
|
static java.lang.String |
PERFORM_STORAGE_CHECKS_PROP_NAME
Property name for boolean value for if storage checks should be performed when allocating files.
|
static long |
PUBLICATION_CONNECTION_TIMEOUT_DEFAULT_NS
Timeout for
Publication connection timeout in nanoseconds |
static long |
PUBLICATION_CONNECTION_TIMEOUT_NS
Publication timeout for when to indicate no connection from lack of status messages.
|
static java.lang.String |
PUBLICATION_CONNECTION_TIMEOUT_PROP_NAME
Property name for
Publication connection timeout. |
static long |
PUBLICATION_HEARTBEAT_TIMEOUT_NS
Timeout between heartbeats for publications.
|
static long |
PUBLICATION_LINGER_DEFAULT_NS
Default time for
Publication s to linger before cleanup in nanoseconds. |
static long |
PUBLICATION_LINGER_NS
Time for
Publication s to linger before cleanup in nanoseconds. |
static java.lang.String |
PUBLICATION_LINGER_PROP_NAME
Property name for linger timeout after draining on
Publication s. |
static int |
PUBLICATION_RESERVED_SESSION_ID_HIGH
High end of the publication reserved session id range which will not be automatically assigned.
|
static int |
PUBLICATION_RESERVED_SESSION_ID_HIGH_DEFAULT
High end of the publication reserved session id range which will not be automatically assigned.
|
static java.lang.String |
PUBLICATION_RESERVED_SESSION_ID_HIGH_PROP_NAME
Property name for high end of the publication reserved session id range which will not be automatically assigned.
|
static int |
PUBLICATION_RESERVED_SESSION_ID_LOW
Low end of the publication reserved session id range which will not be automatically assigned.
|
static int |
PUBLICATION_RESERVED_SESSION_ID_LOW_DEFAULT
Low end of the publication reserved session id range which will not be automatically assigned.
|
static java.lang.String |
PUBLICATION_RESERVED_SESSION_ID_LOW_PROP_NAME
Property name for low end of the publication reserved session id range which will not be automatically assigned.
|
static long |
PUBLICATION_SETUP_TIMEOUT_NS
Timeout between SETUP frames for publications during initial setup phase.
|
static int |
PUBLICATION_TERM_WINDOW_LENGTH
Publication term window length for flow control in bytes.
|
static java.lang.String |
PUBLICATION_TERM_WINDOW_LENGTH_PROP_NAME
Property name for window limit on
Publication side. |
static long |
PUBLICATION_UNBLOCK_TIMEOUT_DEFAULT_NS
Timeout for
Publication unblock in nanoseconds. |
static long |
PUBLICATION_UNBLOCK_TIMEOUT_NS
Publication timeout for when to unblock a partially written message.
|
static java.lang.String |
PUBLICATION_UNBLOCK_TIMEOUT_PROP_NAME
Property name for
Publication unblock timeout. |
static java.lang.String |
RECEIVE_CHANNEL_ENDPOINT_SUPPLIER
ReceiveChannelEndpointSupplier to provide endpoint extension behaviour. |
static java.lang.String |
RECEIVE_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME
Property name for
ReceiveChannelEndpointSupplier . |
static java.lang.String |
RECEIVER_IDLE_STRATEGY
|
static java.lang.String |
RECEIVER_IDLE_STRATEGY_PROP_NAME
|
static long |
RETRANSMIT_UNICAST_DELAY_DEFAULT_NS
Default delay before retransmission of data for unicast in nanoseconds.
|
static FeedbackDelayGenerator |
RETRANSMIT_UNICAST_DELAY_GENERATOR
Source uses same for unicast and multicast.
|
static long |
RETRANSMIT_UNICAST_LINGER_DEFAULT_NS
Default delay for linger for unicast in nanoseconds.
|
static FeedbackDelayGenerator |
RETRANSMIT_UNICAST_LINGER_GENERATOR
Delay for linger for unicast.
|
static java.lang.String |
SEND_CHANNEL_ENDPOINT_SUPPLIER
SendChannelEndpointSupplier to provide endpoint extension behaviour. |
static java.lang.String |
SEND_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME
Property name for
SendChannelEndpointSupplier . |
static int |
SEND_TO_STATUS_POLL_RATIO_DEFAULT
The ratio for sending data to polling status messages in the Sender.
|
static java.lang.String |
SEND_TO_STATUS_POLL_RATIO_PROP_NAME
Property name for ratio of sending data to polling status messages in the Sender.
|
static java.lang.String |
SENDER_IDLE_STRATEGY
|
static java.lang.String |
SENDER_IDLE_STRATEGY_PROP_NAME
|
static java.lang.String |
SHARED_IDLE_STRATEGY
|
static java.lang.String |
SHARED_IDLE_STRATEGY_PROP_NAME
Property name for
IdleStrategy to be employed by Sender , Receiver ,
and DriverConductor for ThreadingMode.SHARED . |
static java.lang.String |
SHARED_NETWORK_IDLE_STRATEGY
|
static java.lang.String |
SHARED_NETWORK_IDLE_STRATEGY_PROP_NAME
Property name for
IdleStrategy to be employed by Sender and Receiver for
ThreadingMode.SHARED_NETWORK . |
static byte[] |
SM_APPLICATION_SPECIFIC_FEEDBACK
Value to use for all Status Message Application Specific Feedback values from the driver for flow control.
|
static java.lang.String |
SM_APPLICATION_SPECIFIC_FEEDBACK_PROP_NAME
Property name for Application Specific Feedback added to Status Messages by the driver for flow control.
|
static int |
SOCKET_MULTICAST_TTL
Multicast TTL value.
|
static int |
SOCKET_MULTICAST_TTL_DEFAULT
Multicast TTL value, 0 means use OS default.
|
static java.lang.String |
SOCKET_MULTICAST_TTL_PROP_NAME
Property name for IP_MULTICAST_TTL setting on UDP sockets.
|
static int |
SOCKET_RCVBUF_LENGTH
SO_RCVBUF length, 0 means use OS default.
|
static int |
SOCKET_RCVBUF_LENGTH_DEFAULT
Default SO_RCVBUF length.
|
static java.lang.String |
SOCKET_RCVBUF_LENGTH_PROP_NAME
Property name for SO_RCVBUF setting on UDP sockets which must be sufficient for Bandwidth Delay Produce (BDP).
|
static int |
SOCKET_SNDBUF_LENGTH
SO_SNDBUF length, 0 means use OS default.
|
static int |
SOCKET_SNDBUF_LENGTH_DEFAULT
Default SO_SNDBUF length.
|
static java.lang.String |
SOCKET_SNDBUF_LENGTH_PROP_NAME
Property name for SO_SNDBUF setting on UDP sockets which must be sufficient for Bandwidth Delay Produce (BDP).
|
static boolean |
SPIES_SIMULATE_CONNECTION
Should a spy subscription simulate a connection to a network publication.
|
static java.lang.String |
SPIES_SIMULATE_CONNECTION_PROP_NAME
Property name for if spy subscriptions simulate a connection.
|
static long |
STATUS_MESSAGE_TIMEOUT_DEFAULT_NS
Max timeout between SMs.
|
static java.lang.String |
STATUS_MESSAGE_TIMEOUT_PROP_NAME
Property name for status message timeout in nanoseconds after which one will be sent.
|
static int |
TERM_BUFFER_IPC_LENGTH_DEFAULT
Default IPC term buffer length.
|
static int |
TERM_BUFFER_LENGTH_DEFAULT
Default term buffer length.
|
static java.lang.String |
TERM_BUFFER_LENGTH_PROP_NAME
Length (in bytes) of the log buffers for publication terms.
|
static boolean |
TERM_BUFFER_SPARSE_FILE
Should term buffers be created as sparse files.
|
static java.lang.String |
TERM_BUFFER_SPARSE_FILE_PROP_NAME
Property name for boolean value of term buffers should be created sparse.
|
static ThreadingMode |
THREADING_MODE_DEFAULT
ThreadingMode default used by the media driver unless overridden in context. |
static java.lang.String |
THREADING_MODE_PROP_NAME
ThreadingMode to be used by the Aeron MediaDriver . |
static long |
TIMER_INTERVAL_NS
How often to check liveness and cleanup timers in nanoseconds.
|
static java.lang.String |
TIMER_INTERVAL_PROP_NAME
Interval in between checks for timers and timeouts.
|
static int |
TO_CLIENTS_BUFFER_LENGTH
Length for broadcast buffers from the media driver and the clients.
|
static int |
TO_CLIENTS_BUFFER_LENGTH_DEFAULT
Default buffer length for broadcast buffers from the media driver and the clients.
|
static java.lang.String |
TO_CLIENTS_BUFFER_LENGTH_PROP_NAME
Length (in bytes) of the broadcast buffers from the media driver to the clients.
|
static java.lang.String |
UNICAST_FLOW_CONTROL_STRATEGY
FlowControl to be employed for unicast channels. |
static java.lang.String |
UNICAST_FLOW_CONTROL_STRATEGY_PROP_NAME
Property name for
FlowControl to be employed for unicast channels. |
static java.lang.String |
UNICAST_FLOW_CONTROL_STRATEGY_SUPPLIER
FlowControlSupplier to be employed for unicast channels. |
static java.lang.String |
UNICAST_FLOW_CONTROL_STRATEGY_SUPPLIER_PROP_NAME
Property name for
FlowControlSupplier to be employed for unicast channels. |
static boolean |
USE_WINDOWS_HIGH_RES_TIMER
Should high resolution timer be used on Windows.
|
static java.lang.String |
USE_WINDOWS_HIGH_RES_TIMER_PROP_NAME
Should high resolution timer be used on Windows.
|
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
static org.agrona.concurrent.IdleStrategy |
agentIdleStrategy(java.lang.String strategyName,
org.agrona.concurrent.status.StatusIndicator controllableStatus)
Get the
IdleStrategy that should be applied to Agent s. |
static int |
ipcPublicationTermWindowLength(int termBufferLength)
How far ahead the publisher can get from the minimum subscriber position for IPC only.
|
static int |
ipcTermBufferLength(int termBufferLength)
How large the term buffer should be for IPC only.
|
static int |
publicationTermWindowLength(int termBufferLength)
How far ahead the publisher can get from the sender position.
|
public static final java.lang.String DIR_WARN_IF_EXISTS_PROP_NAME
public static final boolean DIR_WARN_IF_EXISTS
public static final java.lang.String DIR_DELETE_ON_START_PROP_NAME
CommonContext.AERON_DIR_PROP_NAME
on start
if it exists.public static final boolean DIR_DELETE_ON_START
CommonContext.AERON_DIR_PROP_NAME
on start
if it exists.public static final java.lang.String USE_WINDOWS_HIGH_RES_TIMER_PROP_NAME
public static final boolean USE_WINDOWS_HIGH_RES_TIMER
public static final java.lang.String TERM_BUFFER_SPARSE_FILE_PROP_NAME
public static final boolean TERM_BUFFER_SPARSE_FILE
If a platform supports sparse files then log buffer creation is faster with pages being allocated as needed. This can help for large numbers of channels/streams but can result in latency pauses.
public static final java.lang.String FILE_PAGE_SIZE_PROP_NAME
public static final int FILE_PAGE_SIZE_DEFAULT
public static final int FILE_PAGE_SIZE
public static final java.lang.String PERFORM_STORAGE_CHECKS_PROP_NAME
public static final boolean PERFORM_STORAGE_CHECKS
public static final java.lang.String TERM_BUFFER_LENGTH_PROP_NAME
public static final int TERM_BUFFER_LENGTH_DEFAULT
public static final java.lang.String IPC_TERM_BUFFER_LENGTH_PROP_NAME
public static final int TERM_BUFFER_IPC_LENGTH_DEFAULT
public static final int IPC_TERM_BUFFER_LENGTH
public static final java.lang.String LOW_FILE_STORE_WARNING_THRESHOLD_PROP_NAME
public static final long LOW_FILE_STORE_WARNING_THRESHOLD_DEFAULT
public static final long LOW_FILE_STORE_WARNING_THRESHOLD
public static final java.lang.String CONDUCTOR_BUFFER_LENGTH_PROP_NAME
public static final int CONDUCTOR_BUFFER_LENGTH_DEFAULT
public static final int CONDUCTOR_BUFFER_LENGTH
public static final java.lang.String TO_CLIENTS_BUFFER_LENGTH_PROP_NAME
public static final int TO_CLIENTS_BUFFER_LENGTH_DEFAULT
public static final int TO_CLIENTS_BUFFER_LENGTH
public static final java.lang.String COUNTERS_VALUES_BUFFER_LENGTH_PROP_NAME
public static final int COUNTERS_VALUES_BUFFER_LENGTH_DEFAULT
public static final int COUNTERS_VALUES_BUFFER_LENGTH
public static final int COUNTERS_METADATA_BUFFER_LENGTH
public static final java.lang.String ERROR_BUFFER_LENGTH_PROP_NAME
public static final int ERROR_BUFFER_LENGTH_DEFAULT
public static final int ERROR_BUFFER_LENGTH
public static final java.lang.String LOSS_REPORT_BUFFER_LENGTH_PROP_NAME
public static final int LOSS_REPORT_BUFFER_LENGTH_DEFAULT
public static final int LOSS_REPORT_BUFFER_LENGTH
public static final java.lang.String INITIAL_WINDOW_LENGTH_PROP_NAME
public static final int INITIAL_WINDOW_LENGTH_DEFAULT
Length of Initial Window:
RTT (LAN) = 100 usec Throughput = 10 Gbps
Buffer = Throughput * RTT Buffer = (10 * 1000 * 1000 * 1000 / 8) * 0.0001 = 125000 Round to 128KB
public static final java.lang.String STATUS_MESSAGE_TIMEOUT_PROP_NAME
public static final long STATUS_MESSAGE_TIMEOUT_DEFAULT_NS
public static final java.lang.String SEND_TO_STATUS_POLL_RATIO_PROP_NAME
public static final int SEND_TO_STATUS_POLL_RATIO_DEFAULT
public static final java.lang.String SOCKET_RCVBUF_LENGTH_PROP_NAME
public static final int SOCKET_RCVBUF_LENGTH_DEFAULT
public static final int SOCKET_RCVBUF_LENGTH
public static final java.lang.String SOCKET_SNDBUF_LENGTH_PROP_NAME
public static final int SOCKET_SNDBUF_LENGTH_DEFAULT
public static final int SOCKET_SNDBUF_LENGTH
public static final java.lang.String SOCKET_MULTICAST_TTL_PROP_NAME
public static final int SOCKET_MULTICAST_TTL_DEFAULT
public static final int SOCKET_MULTICAST_TTL
public static final java.lang.String PUBLICATION_LINGER_PROP_NAME
Publication
s.public static final long PUBLICATION_LINGER_DEFAULT_NS
Publication
s to linger before cleanup in nanoseconds.public static final long PUBLICATION_LINGER_NS
Publication
s to linger before cleanup in nanoseconds. This is the time a publication will
wait around after draining to the network so that tail loss can be recovered.public static final java.lang.String CLIENT_LIVENESS_TIMEOUT_PROP_NAME
Aeron
client liveness timeout.public static final long CLIENT_LIVENESS_TIMEOUT_DEFAULT_NS
public static final long CLIENT_LIVENESS_TIMEOUT_NS
public static final java.lang.String IMAGE_LIVENESS_TIMEOUT_PROP_NAME
Image
liveness timeout.public static final long IMAGE_LIVENESS_TIMEOUT_DEFAULT_NS
Image
liveness in nanoseconds.public static final long IMAGE_LIVENESS_TIMEOUT_NS
Image
liveness in nanoseconds.public static final java.lang.String PUBLICATION_TERM_WINDOW_LENGTH_PROP_NAME
Publication
side.public static final int PUBLICATION_TERM_WINDOW_LENGTH
public static final java.lang.String IPC_PUBLICATION_TERM_WINDOW_LENGTH_PROP_NAME
public static final int IPC_PUBLICATION_TERM_WINDOW_LENGTH
public static final java.lang.String PUBLICATION_UNBLOCK_TIMEOUT_PROP_NAME
Publication
unblock timeout.public static final long PUBLICATION_UNBLOCK_TIMEOUT_DEFAULT_NS
Publication
unblock in nanoseconds.public static final long PUBLICATION_UNBLOCK_TIMEOUT_NS
public static final java.lang.String PUBLICATION_CONNECTION_TIMEOUT_PROP_NAME
Publication
connection timeout.public static final long PUBLICATION_CONNECTION_TIMEOUT_DEFAULT_NS
Publication
connection timeout in nanosecondspublic static final long PUBLICATION_CONNECTION_TIMEOUT_NS
public static final java.lang.String SPIES_SIMULATE_CONNECTION_PROP_NAME
public static final boolean SPIES_SIMULATE_CONNECTION
public static final long IDLE_MAX_SPINS
public static final long IDLE_MAX_YIELDS
public static final long IDLE_MIN_PARK_NS
public static final long IDLE_MAX_PARK_NS
public static final java.lang.String SENDER_IDLE_STRATEGY_PROP_NAME
public static final java.lang.String SENDER_IDLE_STRATEGY
public static final java.lang.String CONDUCTOR_IDLE_STRATEGY_PROP_NAME
IdleStrategy
to be employed by DriverConductor
for
ThreadingMode.DEDICATED
and ThreadingMode.SHARED_NETWORK
.public static final java.lang.String CONDUCTOR_IDLE_STRATEGY
IdleStrategy
to be employed by DriverConductor
for ThreadingMode.DEDICATED
and ThreadingMode.SHARED_NETWORK
.public static final java.lang.String RECEIVER_IDLE_STRATEGY_PROP_NAME
public static final java.lang.String RECEIVER_IDLE_STRATEGY
public static final java.lang.String SHARED_NETWORK_IDLE_STRATEGY_PROP_NAME
IdleStrategy
to be employed by Sender
and Receiver
for
ThreadingMode.SHARED_NETWORK
.public static final java.lang.String SHARED_NETWORK_IDLE_STRATEGY
public static final java.lang.String SHARED_IDLE_STRATEGY_PROP_NAME
IdleStrategy
to be employed by Sender
, Receiver
,
and DriverConductor
for ThreadingMode.SHARED
.public static final java.lang.String SHARED_IDLE_STRATEGY
public static final java.lang.String UNICAST_FLOW_CONTROL_STRATEGY_PROP_NAME
FlowControl
to be employed for unicast channels.public static final java.lang.String UNICAST_FLOW_CONTROL_STRATEGY
FlowControl
to be employed for unicast channels.public static final java.lang.String MULTICAST_FLOW_CONTROL_STRATEGY_PROP_NAME
FlowControl
to be employed for multicast channels.public static final java.lang.String MULTICAST_FLOW_CONTROL_STRATEGY
FlowControl
to be employed for multicast channels.public static final java.lang.String UNICAST_FLOW_CONTROL_STRATEGY_SUPPLIER_PROP_NAME
FlowControlSupplier
to be employed for unicast channels.public static final java.lang.String UNICAST_FLOW_CONTROL_STRATEGY_SUPPLIER
FlowControlSupplier
to be employed for unicast channels.public static final java.lang.String MULTICAST_FLOW_CONTROL_STRATEGY_SUPPLIER_PROP_NAME
FlowControlSupplier
to be employed for unicast channels.public static final java.lang.String MULTICAST_FLOW_CONTROL_STRATEGY_SUPPLIER
FlowControlSupplier
to be employed for multicast channels.public static final int MAX_UDP_PAYLOAD_LENGTH
Max length is 65,507 bytes as 65,535 minus 8 byte UDP header then minus 20 byte IP header.
Then round down to nearest multiple of FrameDescriptor.FRAME_ALIGNMENT
to give 65,504.
public static final java.lang.String MTU_LENGTH_PROP_NAME
public static final int MTU_LENGTH_DEFAULT
On networks that suffer little congestion then a larger value can be used to reduce syscall costs.
public static final int MTU_LENGTH
public static final java.lang.String IPC_MTU_LENGTH_PROP_NAME
public static final int IPC_MTU_LENGTH
public static final java.lang.String THREADING_MODE_PROP_NAME
ThreadingMode
to be used by the Aeron MediaDriver
.public static final ThreadingMode THREADING_MODE_DEFAULT
ThreadingMode
default used by the media driver unless overridden in context.public static final java.lang.String TIMER_INTERVAL_PROP_NAME
public static final long DEFAULT_TIMER_INTERVAL_NS
public static final long TIMER_INTERVAL_NS
public static final java.lang.String COUNTER_FREE_TO_REUSE_TIMEOUT_PROP_NAME
public static final long DEFAULT_COUNTER_FREE_TO_REUSE_TIMEOUT_NS
public static final java.lang.String SEND_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME
SendChannelEndpointSupplier
.public static final java.lang.String SEND_CHANNEL_ENDPOINT_SUPPLIER
SendChannelEndpointSupplier
to provide endpoint extension behaviour.public static final java.lang.String RECEIVE_CHANNEL_ENDPOINT_SUPPLIER_PROP_NAME
ReceiveChannelEndpointSupplier
.public static final java.lang.String RECEIVE_CHANNEL_ENDPOINT_SUPPLIER
ReceiveChannelEndpointSupplier
to provide endpoint extension behaviour.public static final java.lang.String SM_APPLICATION_SPECIFIC_FEEDBACK_PROP_NAME
public static final byte[] SM_APPLICATION_SPECIFIC_FEEDBACK
public static final java.lang.String CONGESTION_CONTROL_STRATEGY_SUPPLIER_PROP_NAME
CongestionControlSupplier
to be employed for receivers.public static final java.lang.String CONGESTION_CONTROL_STRATEGY_SUPPLIER
CongestionControlSupplier
to be employed for receivers.public static final java.lang.String PUBLICATION_RESERVED_SESSION_ID_LOW_PROP_NAME
public static final int PUBLICATION_RESERVED_SESSION_ID_LOW_DEFAULT
public static final int PUBLICATION_RESERVED_SESSION_ID_LOW
public static final java.lang.String PUBLICATION_RESERVED_SESSION_ID_HIGH_PROP_NAME
public static final int PUBLICATION_RESERVED_SESSION_ID_HIGH_DEFAULT
public static final int PUBLICATION_RESERVED_SESSION_ID_HIGH
public static final int COMMAND_DRAIN_LIMIT
public static final int CMD_QUEUE_CAPACITY
public static final long PENDING_SETUPS_TIMEOUT_NS
public static final long PUBLICATION_SETUP_TIMEOUT_NS
public static final long PUBLICATION_HEARTBEAT_TIMEOUT_NS
public static final int NAK_GROUPSIZE_DEFAULT
public static final int NAK_GRTT_DEFAULT
public static final long NAK_MAX_BACKOFF_DEFAULT
public static final OptimalMulticastDelayGenerator NAK_MULTICAST_DELAY_GENERATOR
public static final long NAK_UNICAST_DELAY_DEFAULT_NS
public static final StaticDelayGenerator NAK_UNICAST_DELAY_GENERATOR
public static final long RETRANSMIT_UNICAST_DELAY_DEFAULT_NS
public static final FeedbackDelayGenerator RETRANSMIT_UNICAST_DELAY_GENERATOR
public static final long RETRANSMIT_UNICAST_LINGER_DEFAULT_NS
public static final FeedbackDelayGenerator RETRANSMIT_UNICAST_LINGER_GENERATOR
public static final int MAX_RETRANSMITS_DEFAULT
public static int publicationTermWindowLength(int termBufferLength)
termBufferLength
- to be used when PUBLICATION_TERM_WINDOW_LENGTH
is not set.public static int ipcPublicationTermWindowLength(int termBufferLength)
termBufferLength
- to be used when IPC_PUBLICATION_TERM_WINDOW_LENGTH
is not set.public static int ipcTermBufferLength(int termBufferLength)
termBufferLength
- to be used when IPC_TERM_BUFFER_LENGTH
is not set.public static org.agrona.concurrent.IdleStrategy agentIdleStrategy(java.lang.String strategyName, org.agrona.concurrent.status.StatusIndicator controllableStatus)
IdleStrategy
that should be applied to Agent
s.strategyName
- of the class to be created.controllableStatus
- status indicator for what the strategy should do.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.