NearCacheGetEntries Method (IFilter, IComparer) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Return a collection of the entries contained in this cache
that satisfy the criteria expressed by the filter.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic virtual ICacheEntry[] GetEntries(
IFilter filter,
IComparer comparer
)
Parameters
- filter
- Type: Tangosol.UtilIFilter
The IFilter object representing the criteria that
the entries of this cache should satisfy.
- comparer
- Type: System.CollectionsIComparer
The IComparable object which imposes an ordering on
entries in the resulting collection; or null if the
entries' values natural ordering should be used.
Return Value
Type:
ICacheEntry
A collection of entries that satisfy the specified criteria.
Implements
IQueryCacheGetEntries(IFilter, IComparer)
Remarks
It is guaranteed that enumerator will traverse the array in such
a way that the entry values come up in ascending order, sorted by
the specified comparer or according to the
natural ordering.
The operation always executes against the back cache.
See Also