Modifier and Type | Field and Description |
---|---|
static String |
ALLOCATOR_CACHE_AGE_THRESHOLD_PROPERTY
System property specifying the cache age threshold after reaching which the
cache should be considered by the
CachingAllocator for the
size reduction. |
static String |
ALLOCATOR_MAX_CACHE_SIZE_PROPERTY
System property specifying the maximum size of the caches used by the
CachingAllocator . |
static String |
ALLOCATOR_MIN_CACHE_SIZE_PROPERTY
System property specifying the minimum size for the caches used by the
CachingAllocator . |
static String |
ALLOCATOR_NUM_OF_CACHES_PROPERTY
System property specifying number of caches used by the
CachingAllocator . |
static String |
EXCEPTION_LOGGER_SYSTEM_PROERTY
System property specifying the full class name of an external exception
logger.
|
static String |
IGNORE_NO_SESSION_TIMER_EXCEPTION
System property specifying if it will be possible to create engine driven
datagram-oriented sessions without a session timer.
|
static String |
LOGGER_FACTORY_SYSTEM_PROERTY
System property specifying the full class name of an external logger
factory.
|
static String |
MAX_HANDSHAKE_LOOPS_THRESHOLD
System property specifying a threshold for the maximum number of loops needed
to finish the handshake phase for the engine driven sessions.
|
static String |
NO
Value No.
|
static String |
SELECTOR_REBUILD_THRESHOLD_SYSTEM_PROPERY
System property specifying the threshold for the automatic selector rebuild.
|
static String |
SELECTOR_SELECT_TIMEOUT
System property specifying the maximum time in milliseconds the selector will block
while waiting for a channel to become ready.
|
static String |
SHORT_NAME
Short name for the API.
|
static String |
YES
Value Yes.
|
public static final String LOGGER_FACTORY_SYSTEM_PROERTY
ILoggerFactory
interface.public static final String EXCEPTION_LOGGER_SYSTEM_PROERTY
IExceptionLogger
interface.public static final String SELECTOR_REBUILD_THRESHOLD_SYSTEM_PROPERY
The default value for this property is 512.
public static final String SELECTOR_SELECT_TIMEOUT
The default value for this property is 1000
public static final String IGNORE_NO_SESSION_TIMER_EXCEPTION
The allowed values are:
0 - IllegalStateException
will be thrown if no timer is configured,
1 - no exception will be thrown,
any other value will be interpreted as 0
NOTE: Allowing to create an engine driven datagram-oriented session without a timer will make the session not capable of retransmitting lost datagrams and timing out the handshake phase.
The default value for this property is 0
public static final String MAX_HANDSHAKE_LOOPS_THRESHOLD
IEngine
implementation used to drive a
session stuck in some bad state causing an infinite loop.
The default value for this property is 500.
public static final String SHORT_NAME
public static final String YES
public static final String NO
public static final String ALLOCATOR_NUM_OF_CACHES_PROPERTY
CachingAllocator
. Each
cache is used to hold byte buffers of the specified capacity. This property
has global effect what means that setting/changing it once the first instance
of the allocator has been already created will have no effect on newly
created allocators.
The default value for this property is 8.
public static final String ALLOCATOR_MAX_CACHE_SIZE_PROPERTY
CachingAllocator
. The
maximum size determining the max number of byte buffers stored in one cache.
Setting/changing this property will affect all newly created instances of the
allocator.
The default value for this property is 512.
public static final String ALLOCATOR_MIN_CACHE_SIZE_PROPERTY
CachingAllocator
. The
minimum size determining the minimal number of byte buffers that have to be
stored in one cache (i.e. auto reducing mechanisms will not reduce the size
below this value). Setting/changing this property will affect all newly
created instances of the allocator.
The default value for this property is 256.
public static final String ALLOCATOR_CACHE_AGE_THRESHOLD_PROPERTY
CachingAllocator
for the
size reduction. The cache age is interpreted as the number of performed
allocations and releasings the oldest byte buffer survived in the cache.
Setting/changing this property will affect all newly created instances of the
allocator.
The default value for this property is 1000000.
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.