public abstract class MemoryLimitedCacheLoader extends Object implements BootstrapCacheLoader, Cloneable
Constructor and Description |
---|
MemoryLimitedCacheLoader() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the loader
|
protected boolean |
isInMemoryLimitReached(Ehcache cache,
int loadedElements)
Checks whether the cache has reached the limit configured for in-memory storage
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAsynchronous, load
protected boolean isInMemoryLimitReached(Ehcache cache, int loadedElements)
cache
- The cache being loaded and to be checked for limit being reachedloadedElements
- amounts of elements loaded so farpublic Object clone() throws CloneNotSupportedException
clone
in interface BootstrapCacheLoader
clone
in class Object
CloneNotSupportedException
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.