Class AbstractCacheLoader
An abstract base class for ICacheLoader.
Implements
Inherited Members
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
public abstract class AbstractCacheLoader : ICacheLoader
Methods
Load(object)
Return the value associated with the specified key, or
null
if the key does not have an associated value in the
underlying store.
Declaration
public abstract object Load(object key)
Parameters
Type | Name | Description |
---|---|---|
object | key | Key whose associated value is to be returned. |
Returns
Type | Description |
---|---|
object | The value associated with the specified key, or
|
LoadAll(ICollection)
Return the values associated with each the specified keys in the passed collection.
Declaration
public IDictionary LoadAll(ICollection keys)
Parameters
Type | Name | Description |
---|---|---|
ICollection | keys | A collection of keys to load. |
Returns
Type | Description |
---|---|
IDictionary | A dictionary of keys to associated values for the specified keys. |
Remarks
If a key does not have an associated value in the underlying store, then the return dictionary will not have an entry for that key.