Class: com.sybase.jms.cache.DistributedCache (Distributed Cache) EAServer 6.3 Help
Description A versioned distributed cache using quorum consistency. Each cache is divided into one or more data partitions. A data partition is a set of servers within a cluster. The cache can operate even if cluster members fail, so long as sufficient servers remain active in each partition to ensure that quorum is maintained (see readQuorum, writeQuorum).
Configuration See Set Properties Task.
Properties batchSize, cacheSize, cacheTimeout, classLoader, dataClass, dataPartitions, keyClass, quorumWait, readQuorum, retryCount, writeQuorum
Files Repository/Instance/com/sybase/jms/cache/DistributedCache/*.properties

Property: batchSize (Batch Size)
Description Batch size for message propagation between servers.
Default Value 20
Minimum Value 1
Maximum Value 2147483647

Property: cacheSize (Cache Size)
Description The maximum number of entries permitted in the cache. A relaxed LRU discard strategy is used to limit the number of cache entries to this size.
Default Value 1000
Minimum Value 0
Maximum Value 2147483647

Property: cacheTimeout (Cache Timeout)
Description The maximum number of seconds that an entry stored in cache will be considered valid. This property should not be used to attempt to control the cache size, because invalid rows are only discarded from cache when an attempt is made to access them. A value of zero is interpreted as an infinite timeout.
Default Value 0
Minimum Value 0
Maximum Value 2147483647

Property: classLoader (Class Loader)
Description Name of class loader that can be used to load the keyClass and dataClass. For example, "ejb.components.example" for classes from an EJB-JAR named example.jar.
Default Value default

Property: dataClass (Data Class)
Description Class name for the entries in this cache. If the entries are for EJB entity bean caching, then the class name would be "ejb.components.example.MyEntity" for an entity "MyEntity" defined in an EJB-JAR named example.jar.
Default Value java.lang.Object

Property: dataPartitions (Data Partitions)
Description Comma-separated list of cluster partitions across which the data for this cache will be evenly distributed. If the dataPartitions value for a distributed cache is changed, the entire cluster should be restarted.

A cluster partition that is used as a dataPartition should have at least three separate servers.

Property: keyClass (Key Class)
Description Class name for the keys in this cache. If the entries are for EJB entity bean caching, the key class is the entity bean's primary key class.
Default Value java.lang.Object

Property: quorumWait (Quorum Wait)
Description Number of seconds to wait to achieve quorum (see readQuorum, writeQuorum) before an operation against the cache will fail.
Default Value 10
Minimum Value 1
Maximum Value 2147483647

Property: readQuorum (Read Quorum)
Description The number of members of a partition that needs to be in agreement about the results of a cache 'read' operation before that operation is deemed successful.

To ensure proper consistency, the read quorum plus the write quorum must be greater than the number of member servers in each partition. The cache will fail to activate if this condition is not met.

Default Value 1
Minimum Value 1
Maximum Value 2147483647

Property: retryCount (Retry Count)
Description The number of times to retry a cache operation that failed due to the required quorum not being obtained.
Default Value 10
Minimum Value 0
Maximum Value 2147483647

Property: writeQuorum (Write Quorum)
Description The number of members of a partition that needs to be in agreement about the results of a cache 'write' operation before that operation is deemed successful.

To ensure proper consistency, the write quorum must be more than half of the number of servers in each partition. The cache will fail to activate if this condition is not met.

Default Value 1
Minimum Value 1
Maximum Value 2147483647