Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Add an index to the given dictionary of indexes, keyed by the given
extractor. Also add the index as a listener to the given cache.
Namespace: Tangosol.Net.Cache.Support
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public static void AddIndex( IValueExtractor extractor, bool ordered, IComparer comparator, IObservableCache cache, IDictionary dictIndex ) |
Parameters
- extractor
- Type: Tangosol.Util..::..IValueExtractor
The IValueExtractor object that is used to extract an indexable property value from a cache entry.
- ordered
- Type: System..::..Boolean
True if the contents of the indexed information should be ordered; false otherwise
- comparator
- Type: System.Collections..::..IComparer
The IComparer object which imposes an ordering on entries in the indexed cache or null if the entries' values natural ordering should be used.
- cache
- Type: Tangosol.Net.Cache..::..IObservableCache
The cache that the newly created ICacheIndex will use for initialization and listen to for changes.
- dictIndex
- Type: System.Collections..::..IDictionary
The dictionary of indexes that the newly created ICacheIndex will be added to.