The {@link #CachingDataStoreServerImpl constructor} supports the followingconfiguration properties:
{@value #DIRECTORY_PROPERTY}
${com.sun.sgs.app.root}/dsdb
{@value #LOCK_TIMEOUT_PROPERTY}
{@value #DEFAULT_LOCK_TIMEOUT_PROPORTION}
times the transaction timeout 0
, and should be less than the transaction timeout.
{@value #MAX_RETRY_PROPERTY}
{@value #DEFAULT_MAX_RETRY}
{@value #NUM_CALLBACK_THREADS_PROPERTY}
{@value #DEFAULT_NUM_CALLBACK_THREADS}
0
.
{@value #NUM_KEY_MAPS_PROPERTY}
{@value #DEFAULT_NUM_KEY_MAPS}
0
. The number of maps controls the amount of concurrency.
{@value #RETRY_WAIT_PROPERTY}
{@value #DEFAULT_RETRY_WAIT}
{@value #SERVER_PORT_PROPERTY}
{@value #DEFAULT_SERVER_PORT}
65536
. If the value specified is 0
, then an anonymous port will be chosen.
{@value #TXN_TIMEOUT_PROPERTY}
{@value com.sun.sgs.impl.service.transaction.TransactionCoordinator#TXN_TIMEOUT_PROPERTY}
property, if specified, or else {@value com.sun.sgs.impl.service.transaction.TransactionCoordinatorImpl#BOUNDED_TIMEOUT_DEFAULT}
{@value #UPDATE_QUEUE_PORT_PROPERTY}
{@value #DEFAULT_UPDATE_QUEUE_PORT}
65536
. If the value specified is 0
, then an anonymous port will be chosen.
To avoid deadlocks, the implementation needs to insure that operations that obtain multiple locks from the lock manager grab the lowest key first. In particular, the methods that obtain multiple locks are {@link #getBindingForUpdate} and {@link #getBindingForRemove}.
|
|
|
|