public interface InternalCache<K,V> extends org.cache2k.Cache<K,V>, CanCheckIntegrity
| Modifier and Type | Method and Description |
|---|---|
void |
cancelTimerJobs()
used from the cache manager for shutdown
|
void |
closeCustomization(Object _customization,
String _name)
Call close on the customization if the
Closeable interface
is implemented |
<T> T |
createCustomization(org.cache2k.configuration.CustomizationSupplier<T> f)
Calls factory and wraps exceptions.
|
void |
expireOrScheduleFinalExpireEvent(Entry<K,V> e) |
InternalClock |
getClock()
Time reference for the cache.
|
CommonMetrics |
getCommonMetrics() |
String |
getEntryState(K key) |
InternalCacheInfo |
getInfo()
Generate cache statistics.
|
org.cache2k.configuration.CacheType |
getKeyType() |
InternalCacheInfo |
getLatestInfo()
Generate fresh statistics.
|
Log |
getLog()
used from the cache manager
|
StorageAdapter |
getStorage() |
int |
getTotalEntryCount()
This method is used for
ConcurrentMapWrapper.size() |
org.cache2k.configuration.CacheType |
getValueType() |
boolean |
isNullValuePermitted() |
void |
logAndCountInternalException(String s,
Throwable t) |
org.cache2k.CacheEntry<K,V> |
returnCacheEntry(ExaminationEntry<K,V> e) |
void |
timerEventExpireEntry(Entry<K,V> e) |
void |
timerEventProbationTerminated(Entry<K,V> e) |
void |
timerEventRefresh(Entry<K,V> e) |
asMap, clear, clearAndClose, close, computeIfAbsent, containsAndRemove, containsKey, entries, expireAt, get, getAll, getCacheManager, getEntry, getName, invoke, invokeAll, isClosed, keys, loadAll, peek, peekAll, peekAndPut, peekAndRemove, peekAndReplace, peekEntry, prefetch, prefetchAll, put, putAll, putIfAbsent, reloadAll, remove, removeAll, removeAll, removeIfEquals, replace, replaceIfEquals, requestInterface, toStringcheckIntegrityCommonMetrics getCommonMetrics()
Log getLog()
StorageAdapter getStorage()
org.cache2k.configuration.CacheType getKeyType()
org.cache2k.configuration.CacheType getValueType()
void cancelTimerJobs()
InternalCacheInfo getInfo()
InternalCacheInfo getLatestInfo()
getInfo() method for requesting information for monitoring.int getTotalEntryCount()
ConcurrentMapWrapper.size()boolean isNullValuePermitted()
<T> T createCustomization(org.cache2k.configuration.CustomizationSupplier<T> f)
f - factory or null. If null, then null is returned.void closeCustomization(Object _customization, String _name)
Closeable interface
is implementedInternalClock getClock()
org.cache2k.CacheEntry<K,V> returnCacheEntry(ExaminationEntry<K,V> e)
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.