ICacheWriterBeforeCreate Method |
Called before an entry is created. Entry creation is initiated by a
Create, a Put, or a Get.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxbool BeforeCreate(
EntryEvent ev
)
Function BeforeCreate (
ev As EntryEvent
) As Boolean
bool BeforeCreate(
EntryEvent^ ev
)
abstract BeforeCreate :
ev : EntryEvent -> bool
Parameters
- ev
- Type: GemStone.GemFire.CacheEntryEvent
event object associated with creating the entry
Return Value
Type:
Boolean
Remarks
The CacheWriter can determine whether this value comes from a
Get or not from Load. The entry being
created may already exist in the local cache where this CacheWriter
is installed, but it does not yet exist in the cache where the operation was initiated.
See AlsoReference
[!:Region.Create]
[!:Region.Put]
[!:Region.Get]