Gets/Sets Enumeration to specify how the Client cache is synchronized with the cluster caches through events.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: (


public enum ClientCacheSyncMode
Visual Basic
Public Enumeration ClientCacheSyncMode
Visual C++
public enum class ClientCacheSyncMode


Member nameValueDescription
Pessimistic0 In "Pessimistic" mode of synchronization, client cache always checks for the "version" of the cached item before returning it to the application.
Optimistic1 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

See Also