Click or drag to resize
RegionLocalRemove Method (ICacheableKey, Serializable, IGFSerializable)
Removes the value with the specified key in the local cache only. Remove 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 bool LocalRemove(
	ICacheableKey key,
	Serializable value,
	IGFSerializable callbackArg
)

Parameters

key
Type: GemStone.GemFire.CacheICacheableKey
the key of the entry to remove
value
Type: GemStone.GemFire.CacheSerializable
the value of the key to remove
callbackArg
Type: GemStone.GemFire.CacheIGFSerializable
a user-defined parameter to pass to cache listeners and writers triggered by this method

Return Value

Type: Boolean
true if entry with key and its value are removed otherwise false.
Exceptions
ExceptionCondition
IllegalArgumentExceptionif key is null
IllegalStateException if this region has mirroring enabled
Remarks

No ICacheWriter is invoked.

Does not update any CacheStatistics.

See Also