public abstract class MemoryLimitedCacheLoader extends java.lang.Object implements BootstrapCacheLoader, java.lang.Cloneable
Constructor and Description |
---|
MemoryLimitedCacheLoader() |
Modifier and Type | Method and Description |
---|---|
java.lang.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 java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface BootstrapCacheLoader
clone
in class java.lang.Object
java.lang.CloneNotSupportedException