Show / Hide Table of Contents

Class AbstractCacheLoader

An abstract base class for ICacheLoader.

Inheritance
object
AbstractCacheLoader
AbstractCacheStore
Implements
ICacheLoader
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 null if no value is available for that key.

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.

Implements

ICacheLoader
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.