Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
AbstractKeySetBasedCache is an extension to the AbstractKeyBasedCache that has a full awareness of the set of keys upon which the cache is based.

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

Syntax

C#
public abstract class AbstractKeySetBasedCache : AbstractKeyBasedCache

Remarks

As a result, it is possible to optimize the implementation of a number of methods that benefit from a knowledge of the entire set of keys.

Read-only implementations must implement GetInternalKeysCollection()()()() and Get(Object). Read/write implementations must additionally implement Insert(Object, Object, Int64) and Remove(Object). If the implementation has any cost of returning an "old value", then the InsertAll(IDictionary) and RemoveBlind(Object) methods should also be implemented. The only other obvious method for optimization is Clear()()()(), if the implementation is able to do it in bulk.

Inheritance Hierarchy

System..::..Object
  Tangosol.Net.Cache.Support..::..AbstractKeyBasedCache
    Tangosol.Net.Cache.Support..::..AbstractKeySetBasedCache
      Tangosol.Net.Cache..::..ContinuousQueryCache

See Also