| Modifier and Type | Field and Description |
|---|---|
static long |
CLOSE_LINGER_DURATION_DEFAULT_NS
Default duration to linger on close so that publishers subscribers have time to notice closed resources.
|
static String |
CLOSE_LINGER_DURATION_PROP_NAME
Duration to linger on close so that publishers subscribers have time to notice closed resources.
|
static ErrorHandler |
DEFAULT_ERROR_HANDLER
The Default handler for Aeron runtime exceptions.
|
static boolean |
PRE_TOUCH_MAPPED_MEMORY_DEFAULT
Default for if a memory-mapped filed should be pre-touched to fault it into a process.
|
static String |
PRE_TOUCH_MAPPED_MEMORY_PROP_NAME
Should memory-mapped files be pre-touched so that they are already faulted into a process.
|
static long |
RESOURCE_LINGER_DURATION_DEFAULT_NS
Default duration a resource should linger before deletion.
|
static String |
RESOURCE_LINGER_DURATION_PROP_NAME
Duration to wait while lingering an entity such as an
Image before deleting underlying resources
such as memory mapped files. |
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
static long |
closeLingerDurationNs()
Duration to wait while lingering an entity such as an
Image before deleting underlying resources
such as memory mapped files. |
static boolean |
preTouchMappedMemory()
Should memory-mapped files be pre-touched so that they are already faulted into a process.
|
static long |
resourceLingerDurationNs()
Duration to wait while lingering an entity such as an
Image before deleting underlying resources
such as memory mapped files. |
public static final String RESOURCE_LINGER_DURATION_PROP_NAME
Image before deleting underlying resources
such as memory mapped files.public static final long RESOURCE_LINGER_DURATION_DEFAULT_NS
public static final String CLOSE_LINGER_DURATION_PROP_NAME
public static final long CLOSE_LINGER_DURATION_DEFAULT_NS
public static final String PRE_TOUCH_MAPPED_MEMORY_PROP_NAME
Pre-touching files can result in it taking longer for resources to become available in return for avoiding later pauses due to page faults.
public static final boolean PRE_TOUCH_MAPPED_MEMORY_DEFAULT
public static final ErrorHandler DEFAULT_ERROR_HANDLER
DriverTimeoutException is encountered, this handler will exit the program.
The error handler can be overridden by supplying an Aeron.Context with a custom handler.
Aeron.Context.errorHandler(ErrorHandler)public static long resourceLingerDurationNs()
Image before deleting underlying resources
such as memory mapped files.RESOURCE_LINGER_DURATION_PROP_NAMEpublic static long closeLingerDurationNs()
Image before deleting underlying resources
such as memory mapped files.RESOURCE_LINGER_DURATION_PROP_NAMEpublic static boolean preTouchMappedMemory()
PRE_TOUCH_MAPPED_MEMORY_PROP_NAMECopyright © 2014-2023 Real Logic Limited. All Rights Reserved.