Click or drag to resize

SimpleCacheIndex Constructor (IValueExtractor, Boolean, IComparer, Boolean)

.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Construct an index.

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntax
C#
public SimpleCacheIndex(
	IValueExtractor extractor,
	bool ordered,
	IComparer comparer,
	bool init
)

Parameters

extractor
Type: Tangosol.UtilIValueExtractor
The IValueExtractor that is used to extract an indexed value from a resource cache entry.
ordered
Type: SystemBoolean
true iff the contents of the indexed information should be ordered; false otherwise.
comparer
Type: System.CollectionsIComparer
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: SystemBoolean
Initialize the index if true.
See Also