Package com.adaptris.core.services.cache
Class RemoveKeyFromCache
java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.core.services.cache.CacheServiceImpl
com.adaptris.core.services.cache.SingleKeyCacheService
com.adaptris.core.services.cache.RemoveKeyFromCache
- All Implemented Interfaces:
AdaptrisComponent,ComponentLifecycle,ComponentLifecycleExtension,ConnectedService,MessageEventGenerator,Service,StateManagedComponent
@ComponentProfile(summary="Remove a key from the configured cache",
since="3.9.2",
tag="service,cache",
recommended=CacheConnection.class)
public class RemoveKeyFromCache
extends SingleKeyCacheService
Simplified version of
RemoveFromCacheService that doesn't retrieve the value for
insertion into the message.In the adapter configuration file this class is aliased as remove-key-from-cache which is the preferred alternative to the fully qualified classname when building your configuration.
-
Field Summary
Fields inherited from class com.adaptris.core.ServiceImp
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoService(AdaptrisMessage msg) Apply the service to the message.Methods inherited from class com.adaptris.core.services.cache.SingleKeyCacheService
getKey, prepare, setKey, withKeyMethods inherited from class com.adaptris.core.services.cache.CacheServiceImpl
closeService, getConnection, initService, retrieveCache, setConnection, start, stop, withConnectionMethods inherited from class com.adaptris.core.ServiceImp
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueIdMethods inherited from interface com.adaptris.core.ComponentLifecycle
close, initMethods inherited from interface com.adaptris.core.MessageEventGenerator
createName, createQualifier, isTrackingEndpointMethods inherited from interface com.adaptris.core.Service
continueOnFailure, isBranching, setUniqueIdMethods inherited from interface com.adaptris.core.StateManagedComponent
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
-
Constructor Details
-
RemoveKeyFromCache
public RemoveKeyFromCache()
-
-
Method Details
-
doService
Description copied from interface:ServiceApply the service to the message.
- Parameters:
msg- theAdaptrisMessageto process- Throws:
ServiceException- wrapping any underlyingExceptions
-