The NamedCache type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllowClientCaching |
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.
| |
Count |
Gets the number of elements contained in the cache.
| |
DefaultCreatePolicy |
Gets/sets the CreatePolicy object used as parameters when adding objects to the cache using the
Add(CachedObjectId, Object) method or ItemCachedObjectId.
| |
DefaultGeoServerReadMode |
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.
| |
EnableMethodInvocationEventHandling |
Gets or sets a value indicating whether this NamedCache instance is
enabled for receiving StateServer method invocation events.
| |
EnableObjectExpirationEventHandling |
Gets or sets a value indicating whether this NamedCache instance is
enabled for StateServer object expiration events.
| |
InfiniteInvokeTimeout |
The timeout value to supply when initiating and Invoke operation if you
want the operation to be able to run forever.
| |
InvocationGrid |
Gets or sets the InvocationGrid object, which is used by all Invoke Overload methods.
| |
ItemByte |
Gets or sets a cached item using default parameters.
| |
ItemGuid |
Gets or sets a cached item using default parameters.
| |
ItemString |
Gets or sets a cached item using default parameters.
| |
ItemCachedObjectId |
Gets or sets a cached item using default parameters.
| |
Keys |
Returns a collection of keys for all the objects stored in the named cache.
| |
LockRetryInterval |
Gets/Sets milliseconds between lock retries. Default is 5 milliseconds.
| |
MaxLockAttempts |
Gets/Sets the number of lock attempts. The default is 20000 attempts.
| |
MaxReadThroughPendingAttempts |
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.
| |
Name |
Return this NamedCache's name.
| |
ReadPendingRetryInterval |
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.
| |
SerializationCallbacks |
Return the SerializationCallbacks in use for this NamedCache instance. If null, the default serialization mechanism
will be used.
| |
UseLocking |
Determines the locking behavior when using the NamedCache's indexer to get or set cached items. Default is false.
| |
Values |
Returns the values of all objects stored in cache.
|
See Also