Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 220.127.116.11
public void Destroy( CacheableKey key, IGFSerializable cacheWriterArg )
Public Sub Destroy ( _ key As CacheableKey, _ cacheWriterArg As IGFSerializable _ )
public: void Destroy( CacheableKey^ key, IGFSerializable^ cacheWriterArg )
- Type: GemStone.GemFire.Cache CacheableKey
the key of the entry to destroy
- Type: GemStone.GemFire.Cache IGFSerializable
a user-defined parameter to pass to cache writers triggered by this method
|GemStone.GemFire.Cache IllegalArgumentException||if key is null|
|GemStone.GemFire.Cache CacheServerException||If an exception is received from the Java cache server. Only for Native Client regions.|
|GemStone.GemFire.Cache NotConnectedException||if not connected to the GemFire system because the client cannot establish usable connections to any of the servers given to it. For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.|
|GemStone.GemFire.Cache TimeoutException||if the operation timed out|
|GemStone.GemFire.Cache RegionDestroyedException||if this region has been destroyed|
Destroy removes not only the value, but also the key and entry from this region.
The destroy is propogated to the Gemfire cache server to which it is connected with.
Does not update any CacheStatistics.