Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The AbstractKeyBasedCache type exposes the following members.

Constructors

  NameDescription
Protected methodAbstractKeyBasedCache
Initializes a new instance of the AbstractKeyBasedCache class

Methods

  NameDescription
Public methodAdd
Adds an element with the provided key and value to the IDictionary object.
Public methodClear
Clear all key/value mappings.
Public methodContains
Returns true if this cache contains a mapping for the specified key.
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular index.
Public methodEquals
Compares the specified object with this cache for equality.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGet
Returns the value for the specified key.
Public methodGetAll
Get all the specified keys, if they are in the cache.
Public methodGetEnumerator
Returns an ICacheEnumerator object for the ICache instance.
Public methodGetHashCode
Returns the hash code value for this cache.
(Overrides Object..::..GetHashCode()()()().)
Protected methodGetKeysEnumerator
Create an IEnumerator over the keys in this cache.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Object, Object)
Associates the specified value with the specified key in this cache.
Public methodInsert(Object, Object, Int64)
Associates the specified value with the specified key in this cache.
Public methodInsertAll
Copies all of the mappings from the specified IDictionary to this cache.
Protected methodInstantiateEntriesCollection
Factory pattern: Create a collection that represents the entries in the cache.
Protected methodInstantiateKeysCollection
Factory pattern: Create a collection that represents the keys in the cache.
Protected methodInstantiateValuesCollection
Factory pattern: Instantiate the values collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the mapping for this key from this cache if present.
Protected methodRemoveBlind
Removes the mapping for this key from this cache if present.
Public methodToString
Returns a string representation of this cache.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyCount
Returns the number of key-value mappings in this cache.
Public propertyEntries
Returns a collection of the mappings contained in this cache.
Public propertyIsFixedSize
Gets a value indicating whether the IDictionary object has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the IDictionary object is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Public propertyItem
Returns the value to which this cache maps the specified key.
Public propertyKeys
Returns a collection view of the keys contained in this cache.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
Public propertyValues
Returns a collection of the values contained in this cache.

See Also