Class RetrieveFromCacheService

    • Constructor Detail

      • RetrieveFromCacheService

        public RetrieveFromCacheService()
    • Method Detail

      • doService

        public void doService​(AdaptrisMessage msg)
                       throws ServiceException
        Looks up an object from the cache and then stores it in the metadata
        Parameters:
        msg - the AdaptrisMessage to process
        Throws:
        ServiceException - wrapping any underlying Exceptions
      • getExceptionIfNotFound

        public java.lang.Boolean getExceptionIfNotFound()
      • setExceptionIfNotFound

        public void setExceptionIfNotFound​(java.lang.Boolean b)
        Whether or not to throw an exception if the key is not in the cache.
        Parameters:
        b - default is true.