Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 220.127.116.11
Remove( TKey key, TValue value, callbackArg )
bool Remove( TKey key, TValue value, Object callbackArg )
Function Remove ( _ key As TKey, _ value As TValue, _ callbackArg As _ ) As
Function Remove ( _ key As TKey, _ value As TValue, _ callbackArg As Object _ ) As Boolean
Remove( TKey key, TValue value, ^ callbackArg )
bool Remove( TKey key, TValue value, Object^ callbackArg )
- Type: TKey
the key of the entry to Remove
- Type: TValue
the value of the entry to Remove
the callback for user to pass in, It can also be null
Return Valuetrue if entry with key and its value are removed otherwise false.
|if key is null|
|If an exception is received from the Java cache server. Only for Native Client regions.|
|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.|
|if the operation timed out|
|if this region has been destroyed|
Remove removes not only the value, but also the key and entry from this region.
The Remove is propogated to the Gemfire cache server to which it is connected with.
Does not update any CacheStatistics.