public interface RemotingConsts
Modifier and Type | Field and Description |
---|---|
static boolean |
ENABLE_EXTENDED_DEBUG_LOGGING
For debugging purposes; additional log output to follow the trace of a
job through the
RemoteServer and the RemoteClient . |
static boolean |
ENABLE_OBJECT_POOLING
Set to true to pool objects which are ought to be created in vast numbers
in order to reduce object creation and to lessen memory consumption.
|
static int |
INSTANCE_ID_LENGTH
The length of an instance id.
|
static boolean |
PERFORM_CONSISTENCY_CHECKS
Set to true in case the (not really time consuming) consistency checks
are to be performed.
|
static int |
SESSION_ID_LENGTH
The length of a session id (for method requests / replies).
|
static String |
STATIC_INSTANCE_ID
Static instance ID in case we have a job regarding the
RemoteServer or the RemoteClient as a whole. |
static String |
STATIC_SESSION_ID
Static session ID in case we have a job regarding the
RemoteServer or the RemoteClient as a whole. |
static int |
WAIT_FOR_ACTIVE_SESSIONS_LOOPS
The amount of time (in milliseconds) to wait and poll for active
sessions.
|
static long |
WAIT_FOR_ACTIVE_SESSIONS_TIMEOUT_IN_MS
When signing off an object / proxy, the proxy is given this amount of
time (in milliseconds) to close it's active session before it is disposed
and removed.
|
static int |
WAIT_FOR_REPLY_LOOPS
The amount of time (in milliseconds) to wait and poll for replies.
|
static long |
WAIT_FOR_REPLY_TIMEOUT
Any request made waits this amount of time (in milliseconds) for a reply
- if no reply reaches the requester within this time a
ConnectionUnpredictableException is thrown.
|
static final String STATIC_INSTANCE_ID
RemoteServer
or the RemoteClient
as a whole. Its length
must be != INSTANCE_ID_LENGTH
.static final String STATIC_SESSION_ID
RemoteServer
or the RemoteClient
as a whole. Its length
must be != SESSION_ID_LENGTH
.static final int INSTANCE_ID_LENGTH
static final int SESSION_ID_LENGTH
static final long WAIT_FOR_REPLY_TIMEOUT
static final long WAIT_FOR_ACTIVE_SESSIONS_TIMEOUT_IN_MS
static final int WAIT_FOR_ACTIVE_SESSIONS_LOOPS
static final int WAIT_FOR_REPLY_LOOPS
static final boolean PERFORM_CONSISTENCY_CHECKS
static final boolean ENABLE_OBJECT_POOLING
static final boolean ENABLE_EXTENDED_DEBUG_LOGGING
RemoteServer
and the RemoteClient
.Copyright © 2015. All rights reserved.