Coherence.Query.C_QueryAction()

Signature

void C_QueryAction(String cacheName, Object filter, int batchsize, String closure)

Domain

action

Description

Schedule assertion of objects from the cache to the working memory. Query operates only on cache memory, not backing store. Typically used in a preprocessor to load multiple concepts from cache to the Rete network. Then to make objects loaded by this function trigger rules, use the value of closure in a rule's join condition using the format Coherence.Query.C_CurrentContext == String "".

Parameters

NameTypeDescription
cacheNameStringName of the targeted cache.
filterObjectConditional expression to drive selection process.
batchSizeintThe number of objects retrieved from the cache per invocation.
closureStringCurrent context string identifier.

Returns

TypeDescription
void

Cautions

none