Class 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.

  • Constructor Details

    • RemoveKeyFromCache

      public RemoveKeyFromCache()
  • Method Details

    • doService

      public void doService(AdaptrisMessage msg) throws ServiceException
      Description copied from interface: Service

      Apply the service to the message.

      Parameters:
      msg - the AdaptrisMessage to process
      Throws:
      ServiceException - wrapping any underlying Exceptions