Class AwsPersistence
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.aws.AwsPersistence
-
- All Implemented Interfaces:
org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
public class AwsPersistence extends java.lang.Object implements org.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
-
-
Field Summary
Fields Modifier and Type Field Description protected AwsContextawsContext
-
Constructor Summary
Constructors Constructor Description AwsPersistence(AwsContext awsContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.oak.segment.spi.persistence.SegmentArchiveManagercreateArchiveManager(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)org.apache.jackrabbit.oak.segment.spi.persistence.GCJournalFilegetGCJournalFile()org.apache.jackrabbit.oak.segment.spi.persistence.JournalFilegetJournalFile()org.apache.jackrabbit.oak.segment.spi.persistence.ManifestFilegetManifestFile()org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLocklockRepository()booleansegmentFilesExist()
-
-
-
Field Detail
-
awsContext
protected final AwsContext awsContext
-
-
Constructor Detail
-
AwsPersistence
public AwsPersistence(AwsContext awsContext)
-
-
Method Detail
-
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:
createArchiveManagerin interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
-
segmentFilesExist
public boolean segmentFilesExist()
- Specified by:
segmentFilesExistin interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
-
getJournalFile
public org.apache.jackrabbit.oak.segment.spi.persistence.JournalFile getJournalFile()
- Specified by:
getJournalFilein interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence
-
getGCJournalFile
public org.apache.jackrabbit.oak.segment.spi.persistence.GCJournalFile getGCJournalFile() throws java.io.IOException- Specified by:
getGCJournalFilein interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence- Throws:
java.io.IOException
-
getManifestFile
public org.apache.jackrabbit.oak.segment.spi.persistence.ManifestFile getManifestFile() throws java.io.IOException- Specified by:
getManifestFilein interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence- Throws:
java.io.IOException
-
lockRepository
public org.apache.jackrabbit.oak.segment.spi.persistence.RepositoryLock lockRepository() throws java.io.IOException- Specified by:
lockRepositoryin interfaceorg.apache.jackrabbit.oak.segment.spi.persistence.SegmentNodeStorePersistence- Throws:
java.io.IOException
-
-