Package net.sf.ehcache.bootstrap
Interface BootstrapCacheLoader
-
- All Known Implementing Classes:
DiskStoreBootstrapCacheLoader,MemoryLimitedCacheLoader,RMIBootstrapCacheLoader,TerracottaBootstrapCacheLoader
public interface BootstrapCacheLoader- Version:
- $Id$
- Author:
- Greg Luck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectclone()Clones the loaderbooleanisAsynchronous()voidload(Ehcache cache)Instructs the loader to load the given cache
-
-
-
Method Detail
-
load
void load(Ehcache cache) throws CacheException
Instructs the loader to load the given cache- Parameters:
cache- cache to load- Throws:
CacheException
-
isAsynchronous
boolean isAsynchronous()
- Returns:
- true if this bootstrap loader is asynchronous
-
clone
java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionClones the loader- Returns:
- clone of this instance
- Throws:
java.lang.CloneNotSupportedException- if the object's class does not support theCloneableinterface.
-
-