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

The SimpleCacheIndex type exposes the following members.

Constructors

  NameDescription
SimpleCacheIndexOverloaded.

Methods

  NameDescription
AddInverseCollectionMapping
Add new mappings from the elements of the given value to the given key in the supplied index.
AddInverseMappingOverloaded.
CollectRemoved
Given that the old value is known to be a Collection or an array, collect all the enclosed elements that are not part of the new value.
Delete
Update this index in response to a remove operation on a cache.
DeleteInternal
Update this index in response to a remove operation on a cache.
EnsureCollection
Return a Collection representation of the specified value, which could be a Collection, Object[], scalar, or NO_VALUE.
EqualsOverloaded.
ExtractNewValue
Extract the "new" value from the specified entry.
ExtractOldValue
Extract the "old" value from the specified entry.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Get
Using the index information if possible, get the value associated with the specified key. This is expected to be more efficient than using the IValueExtractor against an object containing the value, because the index should already have the necessary information at hand.
GetForwardValue
Get the forward index value associated with the specified key.
GetHashCode
Returns a hash code for this object.
(Overrides Object..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Initialize
Initialize the index's data structures.
Insert
Update this index in response to a insert operation on a cache.
InsertInternal
Update this index in response to a insert operation on a cache.
InstantiateForwardIndex
Instantiate the forward index.
InstatiateInverseIndex
Instantiate the inverse index.
IsKeyExcluded
Check if the entry with the given key is excluded from the index.
LogMissingIdx
Log messages for missing inverse index.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveForwardEntry
Remove the forward index entry for the specified key.
RemoveInverseMappingOverloaded.
ToString
Returns string representation of this instance.
(Overrides Object..::.ToString()()().)
Update
Update this index in response to a update operation on a cache.
UpdateExcludedKeys
Check the entry against the set of entries not included in the index and update the set if necessary.
UpdateInternal
Update this index in response to a update operation on a cache.

Fields

  NameDescription
m_cLogMissingIdx
The number of "missing inverse index" messages that have been logged.
m_keysExcluded
A set of keys for the entries, which could not be included in the index.
m_ldtLogMissingIdx
The time at which the most recent logging of "missing inverse index" messages started.
m_splitCollection
If a value extracted by the IValueExtractor is an ICollection, this property specifies whether or not it should be treated as a collection of contained attributes or indexed as a single composite attribute.
NO_VALUE
Marker object used to represent extractor failure.

Properties

  NameDescription
Comparer
IComparer used to sort the index. Used iff Ordered is true. Could be null, which implicates a natural order.
IndexContents
The IDictionary that contains the index contents.
IndexForward
IDictionary that contains the index values (forward index). The keys of the IDictionary are the keys to the indexed cache and the values are the extracted values. This map is used by IIndexAwareFilter implementations to avoid conversion and value extraction steps.
IsOrdered
Specifies whether or not this ICacheIndex orders the contents of the indexed information.
IsPartial
Determine if indexed information for any entry in the indexed ICache has been excluded from this index. This information is used by IIndexAwareFilter implementations to determine the most optimal way to apply the index.
ValueExtractor
IValueExtractor object that this ICacheIndex uses to extract an indexable Object from a [converted] value stored in the Storage. This property is never null.

See Also