Coherence.Query.C_QueryAction()
Signature
void C_QueryAction(String cacheName, Object filter, int batchsize, String closure)
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
Name | Type | Description |
cacheName | String | Name of the targeted cache. |
filter | Object | Conditional expression to drive selection process. |
batchSize | int | The number of objects retrieved from the cache per invocation. |
closure | String | Current context string identifier. |