Enum ClientCacheSyncMode
Gets/Sets enumeration to specify how the client cache is synchronized with the cluster caches through events.
Assembly: Alachisoft.NCache.Client.dll
Syntax
public enum ClientCacheSyncMode
Fields
Name | Description |
---|---|
Optimistic | It is possible that the client cache is not synchronized with the clustered cache for a small period of time. If during this time users gets an item from the client cache, they may get an old version. This is the "Optimistic" mode of synchronization. |
Pessimistic | In the "Pessimistic" mode of synchronization, the client cache always checks for the "version" of the cached item before returning it to the application. |