net.sf.ehcache.store
Class DiskStoreBootstrapCacheLoader
java.lang.Object
net.sf.ehcache.store.MemoryLimitedCacheLoader
net.sf.ehcache.store.DiskStoreBootstrapCacheLoader
- All Implemented Interfaces:
- Cloneable, BootstrapCacheLoader
public class DiskStoreBootstrapCacheLoader
- extends MemoryLimitedCacheLoader
- Author:
- Alex Snaps
DiskStoreBootstrapCacheLoader
public DiskStoreBootstrapCacheLoader(boolean asynchronous)
- Constructor for loader
- Parameters:
asynchronous
- whether load is asynchronous or synchronous
load
public void load(Ehcache cache)
throws CacheException
- Instructs the loader to load the given cache
- Throws:
CacheException
isAsynchronous
public boolean isAsynchronous()
-
- Returns:
- true if this bootstrap loader is asynchronous
clone
public Object clone()
throws CloneNotSupportedException
- Clones the loader
- Specified by:
clone
in interface BootstrapCacheLoader
- Overrides:
clone
in class MemoryLimitedCacheLoader
- Throws:
CloneNotSupportedException
Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.