Show / Hide Table of Contents

Interface ICacheLoader

A cache loader.

Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
public interface 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
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
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.

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