public interface Consts
| Modifier and Type | Field and Description |
|---|---|
static String |
BROADCAST_AVIS_URL
Identifies the Avis URL.
|
static String |
BROADCAST_MEMORY_NODE
Identifies the node of the broadcast memory address.
|
static String |
BROADCAST_PROVIDER
Identifies the broadcast provider to use as part of
EventChannels. |
static String |
BROADCAST_PROVIDER_AVIS
Identifies the Avis broadcast provider.
|
static String |
BROADCAST_PROVIDER_MEMORY
Identifies the in-memory broadcast provider.
|
static String |
BROADCAST_PROVIDER_UDP
Identifies the UPD broadcast provider.
|
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 millis) at which the client distributed garbage collector wakes up -
system property name:
ubik.rmi.client.gc.interval. |
static String |
CLIENT_GC_THRESHOLD
Specifies the number of remote references at which clients will start invoking the JVM's garbage
collector explicitely (a number equal to or lower than 0 means that no threshold is to be taken
into account - this property will then have no effect).
|
static String |
COLOCATED_CALLS_ENABLED
Specifies if colocated calls should be supported or not (defaults to
true). |
static String |
DEFAULT_DOMAIN
The default domain.
|
static int |
DEFAULT_MARSHALLING_BUFSIZE
The default marshalling buffer size (see
MARSHALLING_BUFSIZE). |
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 |
JMX_ENABLED
Determines if Ubik's JMX beans should be registered with the platform's MBeanServer - system property:
ubik.rmi.jmx.enabled. |
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 |
LOG_OUTPUT_CLASS
Defines the
LogOutput to use. |
static String |
MARSHALLING
This constant corresponds to the
ubik.rmi.marshalling property key. |
static String |
MARSHALLING_BUFSIZE
This constant corresponds to the
ubik.rmi.marshalling.buffer.size 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_CONTROL_RESPONSE_TIMEOUT
This constant corresponds to the 'ubik.rmi.naming.mcast.control.response.timeout' property key.
|
static String |
MCAST_CONTROL_SPLIT_SIZE
This constant corresponds to the 'ubik.rmi.naming.mcast.control.split.size' property key.
|
static String |
MCAST_HANDLER_COUNT
This constant corresponds to the 'ubik.rmi.naming.mcast.handler.count' 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.port' property key.
|
static String |
MCAST_SENDER_COUNT
This constant corresponds to the 'ubik.rmi.naming.mcast.sender.count' property key.
|
static String |
MCAST_SYNC_RESPONSE_TIMEOUT
This constant corresponds to the 'ubik.rmi.naming.mcast.response.timeout' 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 |
SERIALIZATION_PROVIDER
This constant corresponds to the system property (
ubik.rmi.transport.serialization.provider)
that specifies which serialization provider should be used: jboss or jdk. |
static String |
SERIALIZATION_PROVIDER_JBOSS
Corresponds to the property value that should be used to specify the JBoss serialization provider.
|
static String |
SERIALIZATION_PROVIDER_JDK
Corresponds to the property value that should be used to specify the JDK serialization provider.
|
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_CALLBACK_OUTQUEUE_THREADS
Specifies the maximum number of threads that process method invocation callback
responses waiting on the outgoing queue.
|
static String |
SERVER_GC_INTERVAL
Interval (in millis) at which the server-side distributed garbage collector wakes up -
system property name:
ubik.rmi.server.gc.interval. |
static String |
SERVER_GC_TIMEOUT
Delay (in millis) 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 |
SERVER_RESET_INTERVAL
This constant corresponds to the
ubik.rmi.server.reset-interval
system property, which defines at which interval (in millis) the
ObjectOutputStream and ObjectInputStream resets occur. |
static String |
STATS_DUMP_INTERVAL
Determines the interval at which Ubik stats must be dumped - system property:
ubik.rmi.stats.dump.interval. |
static String |
STATS_ENABLED
Determines if statistics should be turned on - system property:
ubik.rmi.stats.enabled. |
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.
|
static String |
UNICAST_PROVIDER
Identifies the unicast provider to use as part of
EventChannels. |
static String |
UNICAST_PROVIDER_MEMORY
Identifies the in-memory unicast provider.
|
static String |
UNICAST_PROVIDER_TCP
Identifies the TCP unicast provider.
|
static String |
UNICAST_PROVIDER_UDP
Identifies the UPD unicast provider.
|
static final String UBIK_DOMAIN_NAME
ubik.jndi.domain).static final String LOG_LEVEL
ubik.rmi.log.level.
Defaults to "error".static final String LOG_OUTPUT_CLASS
LogOutput to use.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_SENDER_COUNT
UnicastDispatcher or BroadcastDispatcher
implementations.static final String MCAST_HANDLER_COUNT
UnicastDispatcher
or BroadcastDispatcher implementations.static final String MCAST_SYNC_RESPONSE_TIMEOUT
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 MCAST_CONTROL_RESPONSE_TIMEOUT
static final String MCAST_CONTROL_SPLIT_SIZE
static final String UNICAST_PROVIDER
EventChannels.static final String UNICAST_PROVIDER_UDP
static final String UNICAST_PROVIDER_TCP
static final String UNICAST_PROVIDER_MEMORY
static final String BROADCAST_PROVIDER
EventChannels.static final String BROADCAST_PROVIDER_UDP
static final String BROADCAST_PROVIDER_AVIS
static final String BROADCAST_AVIS_URL
static final String BROADCAST_PROVIDER_MEMORY
static final String BROADCAST_MEMORY_NODE
static final String MARSHALLING
ubik.rmi.marshalling property key. If the property's
value is true, then the Ubik RMI runtime will wrap remote method invocation
parameters in org.sapia.ubik.rmi.transport.MarshalledObject instances prior sending
the parameters over the wire.static final String MARSHALLING_BUFSIZE
ubik.rmi.marshalling.buffer.size property key.
It indicates the buffer size (in bytes) to use when performing marshalling/unmarshalling. Defaults
to 512.static final int DEFAULT_MARSHALLING_BUFSIZE
MARSHALLING_BUFSIZE).static final String CALLBACK_ENABLED
ubik.rmi.callback.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 SERVER_CALLBACK_OUTQUEUE_THREADS
static final String SERVER_RESET_INTERVAL
ubik.rmi.server.reset-interval
system property, which defines at which interval (in millis) the
ObjectOutputStream and ObjectInputStream resets occur.
System property: ubik.rmi.server.reset-interval.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_GC_THRESHOLD
ubik.rmi.client.gc.threshold.static final String CLIENT_CALLBACK_TIMEOUT
static final String COLOCATED_CALLS_ENABLED
true).
System property: System property: ubik.rmi.colocated.calls.enabled.static 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.static final String TRANSPORT_TYPE
ubik.rmi.transport.typestatic final String STATS_ENABLED
ubik.rmi.stats.enabled.
Value must be true or false (if not set, same effect as false).static final String STATS_DUMP_INTERVAL
ubik.rmi.stats.dump.interval. Note:
this property will only be taken into account if stats are enabled - see STATS_ENABLED.
Value is expected to be in seconds. If it is set to 0 or less, or not set, no dump will occur. Otherwise, stats dump will
be done to stdout.static final String JMX_ENABLED
ubik.rmi.jmx.enabled.
Value must be true or false (if not set, same effect as false).static 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.
static final String SERIALIZATION_PROVIDER
ubik.rmi.transport.serialization.provider)
that specifies which serialization provider should be used: jboss or jdk.
By default, unless the jdk provider is specified or the JBoss serialization implementation
cannot be found in the classpath, the JBoss implementation will be used.
static final String SERIALIZATION_PROVIDER_JBOSS
static final String SERIALIZATION_PROVIDER_JDK
Copyright © 2012 Sapia OSS. All Rights Reserved.