Class GetValueFromCache

    • Constructor Detail

      • GetValueFromCache

        public GetValueFromCache()
    • Method Detail

      • 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
      • 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
      • withExceptionIfNotFound

        public GetValueFromCache withExceptionIfNotFound​(java.lang.Boolean b)