Click or drag to resize

NearCacheConfigSetInvalidateOnChange Method

Sets 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.12.3
Syntax
public virtual NearCacheConfig SetInvalidateOnChange(
	bool invalidateOnChange
)

Parameters

invalidateOnChange
Type: SystemBoolean

Return Value

Type: NearCacheConfig
this Near Cache config instance
See Also