|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Consts
This class conveniently holds constants that correspond to the system properties that can be define to influence Ubik RMI's runtime behavior.
| Field Summary | |
|---|---|
static String |
ALLOW_CODE_DOWNLOAD
Specifies if dynamic code download is allows in this VM (true) or not (false) - system property name: ubik.rmi.code-download.enabled. |
static String |
CALLBACK_ENABLED
Specifies if call-back should be used (true) or not (false) - system property name: ubik.rmi.callback.enabled. |
static String |
CLIENT_CALLBACK_TIMEOUT
Specifies the timeout (in millis) of client callbacks (the delay after which the latter tracks the OIDs whose corresponding remote reference are null (which means that they have locally been dereferenced). |
static String |
CLIENT_GC_BATCHSIZE
Specifies the size of the batch of OIDs that will be sent to remote servers by the client GC. |
static String |
CLIENT_GC_INTERVAL
Interval (in seconds) at which the client distributed garbage collector wakes up - system property name: ubik.rmi.client.gc.interval. |
static String |
CONNECTION_RESET_INTERVAL
Specifies the interval (in millis) at which internal ObjectOutputStream instances
have their reset() method called - see the JDK's javadoc for more information
about that method. |
static String |
DEFAULT_DOMAIN
The default domain. |
static String |
DEFAULT_MCAST_ADDR
The default multicast address. |
static int |
DEFAULT_MCAST_PORT
The default multicast port. |
static String |
IP_PATTERN_KEY
This constant corresponds to the 'ubik.rmi.address-pattern' property key. |
static String |
LOG_LEVEL
Defines the logging verbosity; must be one of the following: debug, info, warning, error - system property name: ubik.rmi.log.level. |
static String |
MARSHALLING
This constant corresponds to the 'ubik.rmi.marshalling' property key. |
static String |
MCAST_ADDR_KEY
This constant corresponds to the 'ubik.rmi.naming.mcast.address' property key. |
static String |
MCAST_BUFSIZE_KEY
This constant corresponds to the 'ubik.rmi.naming.mcast.bufsize' property key. |
static String |
MCAST_HEARTBEAT_INTERVAL
This constant corresponds to the 'ubik.rmi.naming.mcast.heartbeat.interval' property key. |
static String |
MCAST_HEARTBEAT_TIMEOUT
This constant corresponds to the 'ubik.rmi.naming.mcast.heartbeat.timeout' property key. |
static String |
MCAST_PORT_KEY
This constant corresponds to the 'ubik.rmi.naming.mcast.post' property key. |
static String |
OBJECT_TABLE_INITCAPACITY
This constant corresponds to the system property that defines the initial capacity of the hashmap used by the ObjectTable to keep remote objects
- system property: ubik.rmi.object-table.initial-capacity. |
static String |
OBJECT_TABLE_LOAD_FACTOR
This constant corresponds to the system property that defines the load factor of the hashmap used by the ObjectTable to keep remote objects
- system property: ubik.rmi.object-table.load-factor. |
static String |
SERVER_CALLBACK_MAX_THREADS
Specifies the maximum number of threads that process method invocation callbacks - system property name: code>ubik.rmi.server.callback.max-threads. |
static String |
SERVER_GC_INTERVAL
Interval (in seconds) at which the server-side distributed garbage collector wakes up - system property name: ubik.rmi.server.gc.interval. |
static String |
SERVER_GC_TIMEOUT
Delay after which clients that have not performed a "ping" are considered down - system property name: ubik.rmi.server.gc.timeout. |
static String |
SERVER_MAX_THREADS
Specifies the maximum number of processing server threads - system property name: ubik.rmi.server.max-threads. |
static String |
TRANSPORT_PROVIDER
This constant corresponds to the system property that prefixes the configured TransportProviders to plug into the TransportManager. |
static String |
TRANSPORT_TYPE
Specifies the "transport type" to use. |
static String |
UBIK_DOMAIN_NAME
This constant corresponds to the property that identifies ubik's JNDI domain. |
| Field Detail |
|---|
static final String UBIK_DOMAIN_NAME
ubik.jndi.domain).
static final String DEFAULT_MCAST_ADDR
static final int DEFAULT_MCAST_PORT
static final String DEFAULT_DOMAIN
static final String IP_PATTERN_KEY
Localhost,
Constant Field Valuesstatic final String MCAST_PORT_KEY
static final String MCAST_ADDR_KEY
static final String MCAST_BUFSIZE_KEY
static final String MCAST_HEARTBEAT_TIMEOUT
static final String MCAST_HEARTBEAT_INTERVAL
The value of this property should consistent with the value given to the heartbeat timeout: it should not be more.
static final String MARSHALLING
static final String LOG_LEVEL
ubik.rmi.log.level.
Defaults to "error".
static final String CALLBACK_ENABLED
ubik.rmi.callback.enabled. Defaults to "false".
static final String CONNECTION_RESET_INTERVAL
ObjectOutputStream instances
have their reset() method called - see the JDK's javadoc for more information
about that method. System property name: ubik.rmi.connection.reset.interval.
The value defaults to 0 (meaning that the reset occurs every time an object is sent over
the wire).
static final String ALLOW_CODE_DOWNLOAD
ubik.rmi.code-download.enabled. Defaults to "false".
static final String SERVER_GC_INTERVAL
ubik.rmi.server.gc.interval. Defaults to 10 secs.
static final String SERVER_GC_TIMEOUT
ubik.rmi.server.gc.timeout. Defaults to 30 secs.
static final String SERVER_MAX_THREADS
ubik.rmi.server.max-threads. No maximum is defined by default.
static final String SERVER_CALLBACK_MAX_THREADS
static final String CLIENT_GC_INTERVAL
ubik.rmi.client.gc.interval. Defaults to 10 seconds.
static final String CLIENT_GC_BATCHSIZE
ubik.rmi.client.gc.batch.size.
static final String CLIENT_CALLBACK_TIMEOUT
static final String TRANSPORT_TYPE
ubik.rmi.transport.type
Hub.exportObject(Object, java.util.Properties),
Constant Field Valuesstatic final String TRANSPORT_PROVIDER
TransportProviders to plug into the TransportManager.
When it initializes, the latter indeed looks for all system properties starting
with the ubik.rmi.transport.provider prefix. This prefix must be suffixed
with an arbitrary value - so that multiple provider definitions do not overwrite each other.
The property's value is the name of the transport provider's class. For example, given
the org.sapia.ubik.rmi.server.transport.socket.SocketTransportProvider class,
the property could be: ubik.rmi.transport.provider.socket; the associated value
would be the above-mentioned class name.
At initialization, the TransportManager will dynamically instantiate all
providers that have been thus defined and register them internally.
TransportProvider.getTransportType(),
TransportManager,
TransportProvider,
SocketTransportProvider,
Constant Field Valuesstatic final String OBJECT_TABLE_LOAD_FACTOR
ObjectTable to keep remote objects
- system property: ubik.rmi.object-table.load-factor.
static final String OBJECT_TABLE_INITCAPACITY
ObjectTable to keep remote objects
- system property: ubik.rmi.object-table.initial-capacity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||