Creates a BackingStorePolicy object.
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
public BackingStorePolicy( bool enableAsyncOperations, bool enableReadThrough, bool enableWriteThrough )
Parameters
- enableAsyncOperations
- Type: SystemBoolean
Indicates whether this client will handle asynchronous refresh-ahead/write-behind operations. - enableReadThrough
- Type: SystemBoolean
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. - enableWriteThrough
- Type: SystemBoolean
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.
See Also