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

Construct an index.

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public SimpleCacheIndex(
	IValueExtractor extractor,
	bool ordered,
	IComparer comparer,
	bool init
)

Parameters

extractor
Type: Tangosol.Util..::.IValueExtractor
The IValueExtractor that is used to extract an indexed value from a resource cache entry.
ordered
Type: System..::.Boolean
true iff the contents of the indexed information should be ordered; false otherwise.
comparer
Type: System.Collections..::.IComparer
The IComparator object which imposes an ordering on entries in the index map; or null if the entries' values natural ordering should be used.
init
Type: System..::.Boolean
Initialize the index if true.

See Also