Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Helper method to calculate effectiveness for ComparisonFilters that need no more than a single index match in order to retrieve all necessary keys to perform the applyIndex() operation. Such filters are: Contains, Equals, NotEquals.

Namespace:  Tangosol.Util.Filter
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
protected int CalculateMatchEffectiveness(
	IDictionary indexes,
	ICollection keys
)

Parameters

indexes
Type: System.Collections..::.IDictionary
The available MapIndex objects keyed by the related IValueExtractor; read-only
keys
Type: System.Collections..::.ICollection
The set of keys that will be filtered; read-only

Return Value

An effectiveness estimate of how well this filter can use the specified indexes to filter the specified keys

See Also