Class QuietOperationTracker

    • Method Detail

      • run

        public void  description,
                         operation)
        Description copied from interface: OperationTracker
        Executes the operation. If the operation throws a it will be logged and rethrown wrapped as a OperationException.
        Specified by:
        run in interface OperationTracker
        Parameters:
        description - used if there is an exception
        operation - to execute
      • perform

        public <T> T  description,
                             IOOperation<T> operation)
                      throws 
        Description copied from interface: OperationTracker
        As with .
        Specified by:
        perform in interface OperationTracker
        Parameters:
        description - used if there is an exception (outside of IOException)
        operation - to perform
        Returns:
        result of operation
        Throws: