Coherence.Query.C_QueryEvents()

Signature

Event[] C_QueryEvents(String cacheName, Object filter, boolean queryOnly)

Domain

action

Description

Execute a query against a named cache. Query operates only on cache memory, not backing store. For the extractor used in the left hand side of the filter condition, use Coherence.Extractors.C_EventPropertyGetter.

Parameters

NameTypeDescription
cacheNameStringName of the targeted cache
filterObjectConditional expression to drive selection process.
queryOnlybooleanSet to true if the returned objects are used in the current rule body.

Returns

TypeDescription
Event[]List of Events matching the query.

Cautions

none