Click or drag to resize
RegionLocalCreate Method (CacheableKey, Serializable)
Creates a new entry in this region with the specified key and value in the local cache only.

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

Parameters

key
Type: GemStone.GemFire.CacheCacheableKey
the key object for which to create the entry in this region.
value
Type: GemStone.GemFire.CacheSerializable
the value to be created in this region
Exceptions
ExceptionCondition
IllegalArgumentException if key is null
EntryExistsException if an entry with this key already exists
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, then an EntryExistsException is thrown.

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

See Also