Click or drag to resize
RegionLocalDestroy Method (ICacheableKey, IGFSerializable)
Destroys the value with the specified key in the local cache only. Destroy removes not only the value but also the key and entry from this region.

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

Parameters

key
Type: GemStone.GemFire.CacheICacheableKey
the key of the entry to destroy
cacheListenerArg
Type: GemStone.GemFire.CacheIGFSerializable
a user-defined parameter to pass to cache listeners triggered by this method
Exceptions
ExceptionCondition
IllegalArgumentExceptionif key is null
IllegalStateException if this region has mirroring enabled
EntryNotFoundException if the entry does not exist in this region locally
Remarks

No ICacheWriter is invoked.

Does not update any CacheStatistics.

See Also