Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
AbstractKeyBasedCache..::.GetAll Method
AbstractKeyBasedCache Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Get all the specified keys, if they are in the cache.

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

# Syntax

C#
    public virtual IDictionary GetAll(
    	ICollection keys
    )

#### Parameters

keys
  Type: System.Collections..::.ICollection
  A collection of keys that may be in the named cache.

#### Return Value

An IDictionary of keys to values for the specified keys passed in keys.

#### Implements

ICache..::.GetAll(ICollection)

# Remarks

For each key that is in the cache, that key and its corresponding value will be placed in the dictionary that is returned by this method. The absence of a key in the returned dictionary indicates that it was not in the cache, which may imply (for caches that can load behind the scenes) that the requested data could not be loaded.

# See Also

AbstractKeyBasedCache Class
Tangosol.Net.Cache.Support Namespace