Class AzurePersistence

java.lang.Object
org.apache.jackrabbit.oak.segment.azure.AzurePersistence
All Implemented Interfaces:
org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence

public class AzurePersistence extends Object implements org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
  • Field Details

    • readBlobContainerClient

      protected final com.azure.storage.blob.BlobContainerClient readBlobContainerClient
    • writeBlobContainerClient

      protected final com.azure.storage.blob.BlobContainerClient writeBlobContainerClient
    • noRetryBlobContainerClient

      protected final com.azure.storage.blob.BlobContainerClient noRetryBlobContainerClient
    • rootPrefix

      protected final String rootPrefix
    • azureHttpRequestLoggingPolicy

      protected AzureHttpRequestLoggingPolicy azureHttpRequestLoggingPolicy
    • writeAccessController

      protected org.apache.jackrabbit.oak.segment.remote.WriteAccessController writeAccessController
  • Constructor Details

    • AzurePersistence

      public AzurePersistence(com.azure.storage.blob.BlobContainerClient blobContainerClient, String rootPrefix)
    • AzurePersistence

      public AzurePersistence(com.azure.storage.blob.BlobContainerClient readBlobContainerClient, com.azure.storage.blob.BlobContainerClient writeBlobContainerClient, com.azure.storage.blob.BlobContainerClient noRetryBlobContainerClient, String rootPrefix)
    • AzurePersistence

      public AzurePersistence(com.azure.storage.blob.BlobContainerClient readBlobContainerClient, com.azure.storage.blob.BlobContainerClient writeBlobContainerClient, com.azure.storage.blob.BlobContainerClient noRetryBlobContainerClient, String rootPrefix, AzureHttpRequestLoggingPolicy azureHttpRequestLoggingPolicy)
  • Method Details

    • createArchiveManager

      public org.apache.jackrabbit.oak.segment.spi.persistence.SegmentArchiveManager createArchiveManager(boolean mmap, boolean offHeapAccess, org.apache.jackrabbit.oak.segment.spi.monitor.IOMonitor ioMonitor, org.apache.jackrabbit.oak.segment.spi.monitor.FileStoreMonitor fileStoreMonitor, org.apache.jackrabbit.oak.segment.spi.monitor.RemoteStoreMonitor remoteStoreMonitor)
      Specified by:
      createArchiveManager in interface org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
    • segmentFilesExist

      public boolean segmentFilesExist()
      Specified by:
      segmentFilesExist in interface org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
    • getJournalFile

      public org.apache.jackrabbit.oak.segment.spi.persistence.JournalFile getJournalFile()
      Specified by:
      getJournalFile in interface org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
    • getGCJournalFile

      public org.apache.jackrabbit.oak.segment.spi.persistence.GCJournalFile getGCJournalFile() throws IOException
      Specified by:
      getGCJournalFile in interface org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
      Throws:
      IOException
    • getManifestFile

      public org.apache.jackrabbit.oak.segment.spi.persistence.ManifestFile getManifestFile() throws IOException
      Specified by:
      getManifestFile in interface org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
      Throws:
      IOException
    • lockRepository

      public org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock lockRepository() throws IOException
      Specified by:
      lockRepository in interface org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
      Throws:
      IOException
    • getReadBlobContainerClient

      public com.azure.storage.blob.BlobContainerClient getReadBlobContainerClient()
    • setWriteAccessController

      public void setWriteAccessController(org.apache.jackrabbit.oak.segment.remote.WriteAccessController writeAccessController)