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: 2.7.0.0
Syntax
| C# |
|---|
public void LocalDestroy( ICacheableKey key ) |
| Visual Basic (Declaration) |
|---|
Public Sub LocalDestroy ( _ key As ICacheableKey _ ) |
| Visual C++ |
|---|
public: void LocalDestroy ( ICacheableKey^ key ) |
Parameters
- key
- ICacheableKey
the key of the entry to destroy
Remarks
No ICacheWriter is invoked.
Does not update any CacheStatistics.
Exceptions
| Exception | Condition |
|---|---|
| GemStone.GemFire.Cache..::IllegalArgumentException | if key is null |
| GemStone.GemFire.Cache..::IllegalStateException | if this region has mirroring enabled |
| GemStone.GemFire.Cache..::EntryNotFoundException | if the entry does not exist in this region locally |