public abstract class SingleKeyValueCacheImpl extends SingleKeyCacheService
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
SingleKeyValueCacheImpl() |
Modifier and Type | Method and Description |
---|---|
CacheValueTranslator |
getValueTranslator()
Get the configured value translator.
|
void |
prepare()
Prepare for initialisation.
|
void |
setValueTranslator(CacheValueTranslator translator)
What to do with the cache-value.
|
<T extends SingleKeyValueCacheImpl> |
withValueTranslator(CacheValueTranslator t) |
getKey, setKey, withKey
closeService, getConnection, initService, retrieveCache, setConnection, start, stop, withConnection
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, doService, isBranching, setUniqueId
createName, createQualifier, isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
getLookupName
public void prepare() throws CoreException
ComponentLifecycleExtension
prepare
in interface ComponentLifecycleExtension
prepare
in class SingleKeyCacheService
CoreException
public void setValueTranslator(CacheValueTranslator translator)
translator
- the translator, which depending on the concrete classes has different meanings.public CacheValueTranslator getValueTranslator()
public <T extends SingleKeyValueCacheImpl> T withValueTranslator(CacheValueTranslator t)