Coherence.Query.C_QueryEvents()
Signature
Event[] C_QueryEvents(String cacheName, Object filter, boolean queryOnly)
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
Name | Type | Description |
cacheName | String | Name of the targeted cache |
filter | Object | Conditional expression to drive selection process. |
queryOnly | boolean | Set to true if the returned objects are used in the current rule body. |
Returns
Type | Description |
Event[] | List of Events matching the query. |