Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-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: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public virtual ICacheEntry[] GetEntries(
	IFilter filter,
	IComparer comparer
)

Parameters

filter
Type: Tangosol.Util..::..IFilter
The IFilter object representing the criteria that the entries of this cache should satisfy.
comparer
Type: System.Collections..::..IComparer
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

A collection of entries that satisfy the specified criteria.

Implements

IQueryCache..::..GetEntries(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