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

The AbstractKeyBasedCache type exposes the following members.

Constructors

  NameDescription
AbstractKeyBasedCache
Initializes a new instance of the AbstractKeyBasedCache class

Methods

  NameDescription
Add
Adds an element with the provided key and value to the IDictionary object.
Clear
Clear all key/value mappings.
Contains
Returns true if this cache contains a mapping for the specified key.
CopyTo
Copies the elements of the ICollection to an Array, starting at a particular index.
Equals
Compares the specified object with this cache for equality.
(Overrides Object..::.Equals(Object).)
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
Returns the value for the specified key.
GetAll
Get all the specified keys, if they are in the cache.
GetEnumerator
Returns an ICacheEnumerator object for the ICache instance.
GetHashCode
Returns the hash code value for this cache.
(Overrides Object..::.GetHashCode()()().)
GetKeysEnumerator
Create an IEnumerator over the keys in this cache.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InsertOverloaded.
InsertAll
Copies all of the mappings from the specified IDictionary to this cache.
InstantiateEntriesCollection
Factory pattern: Create a collection that represents the entries in the cache.
InstantiateKeysCollection
Factory pattern: Create a collection that represents the keys in the cache.
InstantiateValuesCollection
Factory pattern: Instantiate the values collection.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove
Removes the mapping for this key from this cache if present.
RemoveBlind
Removes the mapping for this key from this cache if present.
ToString
Returns a string representation of this cache.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Count
Returns the number of key-value mappings in this cache.
Entries
Returns a collection of the mappings contained in this cache.
IsFixedSize
Gets a value indicating whether the IDictionary object has a fixed size.
IsReadOnly
Gets a value indicating whether the IDictionary object is read-only.
IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Item
Returns the value to which this cache maps the specified key.
Keys
Returns a collection view of the keys contained in this cache.
SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
Values
Returns a collection of the values contained in this cache.

See Also