Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
LocalCache..::.Load Method
LocalCache Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Indicates to the cache that the specified key should be loaded into the cache, if it is not already in the cache.

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

# Syntax

C#
    public virtual void Load(
    	Object key
    )

#### Parameters

key
  Type: System..::.Object
  The key to request to be loaded.

# Remarks

This provides a means to "pre-load" a single entry into the cache using the cache's loader.

If a valid entry with the specified key already exists in the cache, or if the cache does not have a loader, then this method has no effect.

An implementation may perform the load operation asynchronously.

# See Also

LocalCache Class
Tangosol.Net.Cache Namespace