@ComponentProfile(summary="Retrieve values from a cache, and remove those values from the cache", tag="service,cache", recommended=CacheConnection.class) public class RemoveFromCacheService extends RetrieveFromCacheService
In the adapter configuration file this class is aliased as remove-from-cache which is the preferred alternative to the fully qualified classname when building your configuration.
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
RemoveFromCacheService() |
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage msg)
Retrieves the item from the cache, stores it against the message and then removes it from the cache
|
getExceptionIfNotFound, setExceptionIfNotFound
addCacheEntryEvaluator, addCacheValueToMessage, getCacheEntryEvaluators, setCacheEntryEvaluators
closeService, getConnection, initService, prepare, 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, isBranching, setUniqueId
createName, createQualifier, isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
getLookupName
public void doService(AdaptrisMessage msg) throws ServiceException
doService
in interface Service
doService
in class RetrieveFromCacheService
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
sRetrieveFromCacheService.doService(com.adaptris.core.AdaptrisMessage)