Click or drag to resize
RegionLocalInvalidate Method (ICacheableKey, IGFSerializable)
Locally invalidates the entry with the specified key, passing the callback argument to any cache listeners that are invoked in the operation.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public void LocalInvalidate(
	ICacheableKey key,
	IGFSerializable callback
)

Parameters

key
Type: GemStone.GemFire.CacheICacheableKey
key of the value to be invalidated
callback
Type: GemStone.GemFire.CacheIGFSerializable
a user-defined parameter to pass to callback events triggered by this method
Exceptions
ExceptionCondition
IllegalArgumentExceptionif key is null
EntryNotFoundException if this entry does not exist in this region locally
RegionDestroyedException if the region is destroyed
Remarks

Invalidate only removes the value from the entry -- the key is kept intact. To completely remove the entry, call Destroy(ICacheableKey, IGFSerializable).

Does not update any CacheStatistics.

See Also