Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2369

DataStoreWrapperBackend not updated to latest extensions added to Backend interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.12, 1.1.6
    • blob, core
    • None

    Description

      the following to issues extended the API of org.apache.jackrabbit.core.data.Backend : JCR-3816, JCR-3817

         /**
           * Update the lastModified of record if it's lastModified < minModifiedDate.
           * 
           * @param identifier
           * @param minModifiedDate
           * @throws DataStoreException
           */
          void touch(final DataIdentifier identifier, long minModifiedDate)
                  throws DataStoreException;
          
          /**
           * Update the lastModified of record if it's lastModified < minModifiedDate
           * asynchronously. Result of update is passed using appropriate
           * {@link AsyncTouchCallback} methods. If identifier's lastModified >
           * minModified {@link AsyncTouchCallback#onAbort(AsyncTouchResult)} is
           * called. Any exception is communicated through
           * {@link AsyncTouchCallback#onFailure(AsyncTouchResult)} . On successful
           * update of lastModified,
           * {@link AsyncTouchCallback#onSuccess(AsyncTouchResult)(AsyncTouchResult)}
           * is invoked.
           * 
           * @param identifier
           * @param minModifiedDate
           * @param callback
           * @throws DataStoreException
           */
          void touchAsync(final DataIdentifier identifier, long minModifiedDate,
                  final AsyncTouchCallback callback) throws DataStoreException;
      

      those 2 methods have not been implemented with DataStoreWrapperBackend present with Oak.

      Attachments

        Activity

          People

            amitjain Amit Jain
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: