Class SharedDataStoreUtils

java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.datastore.SharedDataStoreUtils

@Deprecated(since="2024-09-23") public class SharedDataStoreUtils extends Object
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Utility class for SharedDataStore.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated.
    Encapsulates the different type of records at the data store root.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.jackrabbit.oak.spi.blob.data.DataRecord
    getEarliestRecord(List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> recs)
    Deprecated.
    Gets the earliest record of the available reference records.
    static boolean
    isShared(BlobStore blobStore)
    Deprecated.
    Checks if the blob store shared.
    static Set<String>
    refsNotAvailableFromRepos(List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> repos, List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> refs)
    Deprecated.
    Repositories from which marked references not available.
    static Set<String>
    refsNotOld(List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> repos, List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> refs, long referenceTime)
    Deprecated.
    Repositories from which marked references older than retention time are not available.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SharedDataStoreUtils

      public SharedDataStoreUtils()
      Deprecated.
  • Method Details

    • isShared

      public static boolean isShared(BlobStore blobStore)
      Deprecated.
      Checks if the blob store shared.
      Parameters:
      blobStore - the blob store
      Returns:
      true if shared
    • getEarliestRecord

      public static org.apache.jackrabbit.oak.spi.blob.data.DataRecord getEarliestRecord(List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> recs)
      Deprecated.
      Gets the earliest record of the available reference records.
      Parameters:
      recs - the recs
      Returns:
      the earliest record
    • refsNotAvailableFromRepos

      public static Set<String> refsNotAvailableFromRepos(List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> repos, List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> refs)
      Deprecated.
      Repositories from which marked references not available.
      Parameters:
      repos - the repos
      refs - the refs
      Returns:
      the sets the sets whose references not available
    • refsNotOld

      public static Set<String> refsNotOld(List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> repos, List<org.apache.jackrabbit.oak.spi.blob.data.DataRecord> refs, long referenceTime)
      Deprecated.
      Repositories from which marked references older than retention time are not available.
      Parameters:
      repos - the repos
      refs - the refs
      referenceTime - the retention time
      Returns:
      the sets the sets whose references not available