org.sape.carbon.services.cache
Interface Cache

All Superinterfaces:
FunctionalInterface, Map, Schedulable
All Known Subinterfaces:
MRUCache, MultiGetCache
All Known Implementing Classes:
AbstractMRUCache, AbstractTotalCache, MultiGetMRUCache

public interface Cache
extends Map, FunctionalInterface, Schedulable

The Cache Interface is implemented by all types of Caches. It is the only interface to a Cache that should be exposed to a client.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.9 $($Author: dvoet $ / $Date: 2003/05/05 21:21:07 $)
Author:
Douglas Voet, April, 2002

Method Summary
 void refreshAll()
          Refresh the contents of the entire underlying cache.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.sape.carbon.services.scheduler.Schedulable
runScheduledTask
 

Method Detail

refreshAll

public void refreshAll()
                throws CacheLoadException
Refresh the contents of the entire underlying cache.

Throws:
CacheLoadException - when this cache's data loader has failed to load data to this cache


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.