@ComponentProfile(summary="Check the cache for a key and retrieve it if it exists", tag="service,cache", branchSelector=true, since="3.6.4", recommended=CacheConnection.class) public class CheckAndRetrieve extends CheckCacheService
Service
implementation that checks if specific key(s) exist in the cache and retrieves.In the adapter configuration file this class is aliased as check-cache-and-retrieve which is the preferred alternative to the fully qualified classname when building your configuration.
CheckCacheService.FoundInCache
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
CheckAndRetrieve() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
eval(AdaptrisMessage msg) |
doService, eval, getKeysFoundServiceId, getKeysNotFoundServiceId, isBranching, setKeysFoundServiceId, setKeysNotFoundServiceId
addCacheEntryEvaluator, addCacheValueToMessage, getCacheEntryEvaluators, setCacheEntryEvaluators
closeService, getConnection, initService, prepare, retrieveCache, setConnection, start, stop, withConnection
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, setUniqueId
createName, createQualifier, isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
getLookupName
protected boolean eval(AdaptrisMessage msg) throws CoreException
eval
in class CheckCacheService
CoreException