Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
InvocableCacheHelper..::.AddIndex Method
InvocableCacheHelper Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Add an index to the given Dictionary of indexes, keyed by the given extractor and add the index as a listener to the given resource map.

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

# Syntax

C#
    public static void AddIndex(
    	IValueExtractor extractor,
    	bool fOrdered,
    	IComparer comparator,
    	IObservableCache map,
    	IDictionary mapIndex
    )

#### Parameters

extractor
  Type: Tangosol.Util..::.IValueExtractor
  The ValueExtractor object that is used to extract an indexable property value from a resource map entry.

fOrdered
  Type: System..::.Boolean
  True if the contents of the indexed information should be ordered; false otherwise

comparator
  Type: System.Collections..::.IComparer
  The Comparator object which imposes an ordering on entries in the indexed map or null if the entries' values natural ordering should be used

map
  Type: Tangosol.Net.Cache..::.IObservableCache
  The resource map that the newly created MapIndex will use for initialization.

mapIndex
  Type: System.Collections..::.IDictionary
  The Dictionary of indexes.

# See Also

InvocableCacheHelper Class
Tangosol.Net.Cache.Support Namespace