CreatePolicy Properties

ScaleOut Software NamedCache API

The CreatePolicy type exposes the following members.

Properties

  NameDescription
Public propertyAllowRemoteAccess
Gets/sets whether the object to be added to the cache will be accessible to remote stores via GeoServer "pull" replication. The default value is true. Use the DefaultCoherencyPolicy property to specify how remote stores refresh their proxies of this object.
Public propertyAllowReplication
Gets/sets whether the object to be added to the cache will be subject to GeoServer cross-store "push" replication.
Public propertyBackingStoreInterval
Gets/sets the interval between asynchronous backing store events (refresh-ahead, write-behind).
Public propertyBackingStoreMode
Gets/sets the associated object's BackingStoreAsyncPolicy. Default is None.
Public propertyDefaultCoherencyPolicy
Gets/sets the policy determining how remote stores will refresh their proxies of this object. Currently supported policy types are NotifyCoherencyPolicy and PollingCoherencyPolicy. Set this property to null to prevent remote stores from automatically refreshing their proxies for this object. The default value is a PollingCoherencyPolicy with an polling interval of 60 seconds.
Public propertyDependencies
Gets/sets keys to objects on which the object being added depends. Items in the array must be of type string, byte[], Guid, or StateServerKey. An object can be dependent upon up to 2 parent objects. Keys to parents that do not exist in the store will be ignored.
Public propertyIsAbsoluteTimeout
Gets/sets whether the timeout is an absolute expiration value or is a sliding expiration value that gets reset every time the object is accessed.
Public propertyIsAbsoluteTimeoutOnRead
Gets/sets whether the timeout is an absolute expiration value or is a sliding expiration value that gets reset every time the object updated. (This property is overridden by the IsAbsoluteTimeout property, which resets the expiration if the object is updated or read.)
Public propertyPreemptionPriority
Gets/sets the priority of keeping the object in the cache during low-memory situations. Removable objects are removed from memory when memory runs low based on a least recently used algorithm.
Public propertyTimeout
Gets/sets the timeout until the object expires, with a minimum granularity of one second. Use Zero for an infinite timeout.
Public propertyTimeoutMinutes
Gets/sets the timeout until the object expires, rounded to the nearest minute. 0 for an infinite timeout.
Top
See Also

Reference