public class DiskStoreBootstrapCacheLoader extends MemoryLimitedCacheLoader
| Constructor and Description |
|---|
DiskStoreBootstrapCacheLoader(boolean asynchronous)
Constructor for loader
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones the loader
|
protected void |
doLoad(Ehcache cache)
Performs bootstrap loading.
|
boolean |
isAsynchronous() |
void |
load(Ehcache cache)
Instructs the loader to load the given cache
|
isInMemoryLimitReachedpublic DiskStoreBootstrapCacheLoader(boolean asynchronous)
asynchronous - whether load is asynchronous or synchronouspublic void load(Ehcache cache) throws CacheException
cache - cache to loadCacheExceptionprotected void doLoad(Ehcache cache)
public boolean isAsynchronous()
public Object clone() throws CloneNotSupportedException
clone in interface BootstrapCacheLoaderclone in class MemoryLimitedCacheLoaderCloneNotSupportedException - if the object's class does not support the Cloneable interface.Copyright 2001-2021, Terracotta, Inc.