public abstract class BlobCache extends Cache<String,Object>
lock, maxEntrySize| Constructor and Description |
|---|
BlobCache(int size) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultMaxEntrySize()
This has to be overridden by Caches which support max entry size.
|
String |
getDescription()
Gives a description for this cache type.
|
String |
getKey(int nodeNumber,
String fieldName) |
String |
getName()
Returns a name for this cache type.
|
Object |
put(String key,
Object value)
Like 'put' of LRUHashtable but considers if the cache is active or not.
|
checkCachePolicy, clear, contains, containsKey, containsValue, entrySet, equals, get, getAvarageValueLength, getByteSize, getByteSize, getCheapByteSize, getCount, getHits, getImplementation, getLock, getMaxEntrySize, getMaxSize, getMisses, getPuts, getRatio, getSize, getStats, hashCode, isActive, isEmpty, keySet, maxSize, putAll, putCache, remove, reset, setActive, setImplementation, setMaxEntrySize, setMaxSize, size, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected int getDefaultMaxEntrySize()
CachegetDefaultMaxEntrySize in class Cache<String,Object>public String getName()
Cachepublic String getDescription()
CachegetDescription in interface CacheMBeangetDescription in class Cache<String,Object>MMBase 1.9-SNAPSHOT - ${javadoctimestamp}