org.dasein.util
Interface CacheLoader<T>

Type Parameters:
T - the type of objects being loaded by the cache loader
All Known Implementing Classes:
MapLoader

public interface CacheLoader<T>

Loads a cached item from its persistent data store. The loader is used by a ConcurrentCache to load a value when not present in the cache.

Last modified: $Date: 2005/08/15 16:19:34 $

Version:
$Revision: 1.1 $
Author:
George Reese

Method Summary
 T load(Object... args)
          Loads a cached item for the concurrent cache.
 

Method Detail

load

T load(Object... args)
Loads a cached item for the concurrent cache. If the item does not exist, this method should return null.

Returns:
a valid item for the cache or null


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.