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.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic void LocalDestroy(
ICacheableKey key,
IGFSerializable cacheListenerArg
)
Public Sub LocalDestroy (
key As ICacheableKey,
cacheListenerArg As IGFSerializable
)
public:
void LocalDestroy(
ICacheableKey^ key,
IGFSerializable^ cacheListenerArg
)
member LocalDestroy :
key : ICacheableKey *
cacheListenerArg : IGFSerializable -> unit
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
Remarks
No ICacheWriter is invoked.
Does not update any CacheStatistics.
See AlsoReference
[!:ICacheListener.AfterDestroy]
[!:ICacheWriter.BeforeDestroy]