![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | NearCacheConfigIsInvalidateOnChange Method |
Checks if Near Cache entries are invalidated when the entries in the backing data structure are changed
(updated or removed).
When this setting is enabled, a Hazelcast instance with a Near Cache listens for cluster-wide changes
on the entries of the backing data structure and invalidates its corresponding Near Cache entries.
Changes done on the local Hazelcast instance always invalidate the Near Cache immediately.
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic virtual bool IsInvalidateOnChange()
Public Overridable Function IsInvalidateOnChange As Boolean
public:
virtual bool IsInvalidateOnChange()
abstract IsInvalidateOnChange : unit -> bool
override IsInvalidateOnChange : unit -> bool
Return Value
Type:
Booleantrue if Near Cache invalidations are enabled on changes,
false otherwise
See Also