Click or drag to resize
RegionLocalPut Method (CacheableKey, IGFSerializable, IGFSerializable)
Puts a new value into an entry in this region with the specified key in the local cache only, passing the callback argument to any cache writers and cache listeners that are invoked in the operation.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public void LocalPut(
	CacheableKey key,
	IGFSerializable value,
	IGFSerializable callbackArg
)

Parameters

key
Type: GemStone.GemFire.CacheCacheableKey
a key object associated with the value to be put into this region.
value
Type: GemStone.GemFire.CacheIGFSerializable
the value to be put into this region
callbackArg
Type: GemStone.GemFire.CacheIGFSerializable
argument that is passed to the callback functions
Exceptions
ExceptionCondition
IllegalArgumentException if key is null
CacheWriterException if CacheWriter aborts the operation
CacheListenerException if CacheListener throws an exception
RegionDestroyedException if region has been destroyed
OutOfMemoryException if there is not enough memory for the value
Remarks

If there is already an entry associated with the specified key in this region, the entry's previous value is overwritten.

Updates the [!:CacheStatistics.LastAccessedTime] and [!:CacheStatistics.LastModifiedTime] for this region and the entry.

See Also