NamedCache Properties

ScaleOut Software NamedCache API

The NamedCache type exposes the following members.

Properties

  NameDescription
Public propertyAllowClientCaching
Gets/sets an flag indicating whether (deserialized) objects accessed by this cache should be kept in a client-side cache when they are written to StateServer. Default is true.
Public propertyCount
Gets the number of elements contained in the cache.
Public propertyDefaultCreatePolicy
Public propertyDefaultGeoServerReadMode
Determines the GeoServer read behavior when using the NamedCache's indexer, Get(String) method, Retrieve(String, Boolean) overload, or GetMetadata(String, Boolean) overload to read cached items. Default is LocalDoNotThrowOnStaleData.
Public propertyEnableMethodInvocationEventHandling
Gets or sets a value indicating whether this NamedCache instance is enabled for receiving StateServer method invocation events.
Public propertyEnableObjectExpirationEventHandling
Gets or sets a value indicating whether this NamedCache instance is enabled for StateServer object expiration events.
Public propertyStatic memberInfiniteInvokeTimeout
The timeout value to supply when initiating and Invoke operation if you want the operation to be able to run forever.
Public propertyInvocationGrid
Gets or sets the InvocationGrid object, which is used by all Invoke Overload methods.
Public propertyItemByte
Gets or sets a cached item using default parameters.
Public propertyItemGuid
Gets or sets a cached item using default parameters.
Public propertyItemString
Gets or sets a cached item using default parameters.
Public propertyItemCachedObjectId
Gets or sets a cached item using default parameters.
Public propertyKeys
Returns a collection of keys for all the objects stored in the named cache.
Public propertyLockRetryInterval
Gets/Sets milliseconds between lock retries. Default is 5 milliseconds.
Public propertyMaxLockAttempts
Gets/Sets the number of lock attempts. The default is 20000 attempts.
Public propertyMaxReadThroughPendingAttempts
Gets/Sets the number of read attempts made when performing a read-through operation from a backing store or a remote read from another store using GeoServer pull replication. The default is 2400 attempts.
Public propertyName
Return this NamedCache's name.
Public propertyReadPendingRetryInterval
Gets/Sets milliseconds between read retries when backing store read-through operations are enabled or GeoServer pull replication is being used. Default is 50 milliseconds.
Protected propertySerializationCallbacks
Return the SerializationCallbacks in use for this NamedCache instance. If null, the default serialization mechanism will be used.
Public propertyUseLocking
Determines the locking behavior when using the NamedCache's indexer to get or set cached items. Default is false.
Public propertyValues
Returns the values of all objects stored in cache.
Top
See Also

Reference