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
|
isInMemoryLimitReached
public DiskStoreBootstrapCacheLoader(boolean asynchronous)
asynchronous
- whether load is asynchronous or synchronouspublic void load(Ehcache cache) throws CacheException
CacheException
protected void doLoad(Ehcache cache)
public boolean isAsynchronous()
public Object clone() throws CloneNotSupportedException
clone
in interface BootstrapCacheLoader
clone
in class MemoryLimitedCacheLoader
CloneNotSupportedException
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.