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