Assembly: soss_namedcache (in soss_namedcache.dll) Version: 184.108.40.206
Thetype exposes the following members.
Creates a BackingStorePolicy object with all options set to false.
|BackingStorePolicy(Boolean, Boolean, Boolean)|
Creates a BackingStorePolicy object.
Indicates whether this client will handle asynchronous refresh-ahead/write-behind operations.
If true, a client will populate the StateServer automatically from a database (or other type of backing store) when a cache miss occurs by invoking the Load(CachedObjectId) method.
If true, a client will synchronously write changes to a database (or other type of backing store) when a cached object is updated or created in the cache by invoking the Store(CachedObjectId, Object) method.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The EnableAsyncOperations property to enable asynchronous refresh-ahead and write-behind operations.class controls read-through, write-through, refresh-ahead, and write-behind behavior when ScaleOut StateServer is being used as cache for a persistent backing store (such as a database). Use the
If read-through operations are enabled, it is not desirable for every client process to simultaneously query the database when a cache miss occurs, so the EnableReadThrough property will affect the behavior of the NamedCaches's Retrieve(CachedObjectId, Boolean), Get(CachedObjectId), and ItemCachedObjectId methods when a cache miss occurs. The first client to perform a retrieval operation on an object that's missing from the cache will have its Load(CachedObjectId) implementation invoked. While the backing store is being queried, other clients requesting this object will repeatedly poll until the object has been inserted into the cache. The frequency of the polling behavior is controlled through the NamedCache's ReadPendingRetryInterval and MaxReadThroughPendingAttempts properties.
Changing properties of the SetBackingStoreAdapter(IBackingStore, BackingStorePolicy) will not change the named cache's behavior--SetBackingStoreAdapter(IBackingStore, BackingStorePolicy) must be called again for the new policy options to take effect.after a call to