| 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.9.3
Syntax public virtual NearCacheConfig SetInvalidateOnChange(
bool invalidateOnChange
)
Public Overridable Function SetInvalidateOnChange (
invalidateOnChange As Boolean
) As NearCacheConfig
public:
virtual NearCacheConfig^ SetInvalidateOnChange(
bool invalidateOnChange
)
abstract SetInvalidateOnChange :
invalidateOnChange : bool -> NearCacheConfig
override SetInvalidateOnChange :
invalidateOnChange : bool -> NearCacheConfig
Parameters
- invalidateOnChange
- Type: SystemBoolean
Return Value
Type:
NearCacheConfigthis Near Cache config instance
See Also