Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SimpleCacheIndex Constructor (IValueExtractor, Boolean, IComparer, Boolean)
SimpleCacheIndex Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Construct an index.

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

# 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

SimpleCacheIndex Class
SimpleCacheIndex Overload
Tangosol.Net.Cache Namespace