K
- the keyV
- the valuepublic abstract class AbstractPersistenceValueManager<K,V> extends Object implements ValueManager<K,V>
Constructor and Description |
---|
AbstractPersistenceValueManager(PersistencesRestoreMethod persistencesRestoreMethod)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Logger |
getLogger()
A logger for getting metrics on how the caching is performing.
|
PersistencesRestoreMethod |
getPersistencesRestoreMethod()
The restoration method, when reconstructing the LRUCachingMap.
|
boolean |
isPersisted()
Determine if the values is in a persistence storage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
constructWrapper, flush, removeAll, removeValue, restore, retrieveValue, storeValue, updateExpireTime
public AbstractPersistenceValueManager(PersistencesRestoreMethod persistencesRestoreMethod)
persistencesRestoreMethod
- which method to use when restoring the cache.public final PersistencesRestoreMethod getPersistencesRestoreMethod()
public final boolean isPersisted()
true
.isPersisted
in interface ValueManager<K,V>
true
if value is stored in a persistence storage an can be recovered after "reboot", otherwise false
.public final Logger getLogger()
ValueManager
getLogger
in interface ValueManager<K,V>
Copyright © 2016. All rights reserved.