Class TarFiles.Builder
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.file.tar.TarFiles.Builder
-
-
Method Summary
-
-
-
Method Detail
-
withDirectory
public TarFiles.Builder withDirectory(File directory)
-
withMemoryMapping
public TarFiles.Builder withMemoryMapping(boolean memoryMapping)
-
withOffHeapAccess
public TarFiles.Builder withOffHeapAccess(boolean offHeapAccess)
-
withTarRecovery
public TarFiles.Builder withTarRecovery(TarRecovery tarRecovery)
-
withIOMonitor
public TarFiles.Builder withIOMonitor(IOMonitor ioMonitor)
-
withFileStoreMonitor
public TarFiles.Builder withFileStoreMonitor(FileStoreMonitor fileStoreStats)
-
withRemoteStoreMonitor
public TarFiles.Builder withRemoteStoreMonitor(RemoteStoreMonitor remoteStoreMonitor)
-
withMaxFileSize
public TarFiles.Builder withMaxFileSize(long maxFileSize)
-
withReadOnly
public TarFiles.Builder withReadOnly()
-
withPersistence
public TarFiles.Builder withPersistence(SegmentNodeStorePersistence persistence)
-
withReaderCountStats
public TarFiles.Builder withReaderCountStats(CounterStats readerCountStats)
-
withSegmentCountStats
public TarFiles.Builder withSegmentCountStats(CounterStats segmentCountStats)
-
withInitialisedReadersAndWriters
public TarFiles.Builder withInitialisedReadersAndWriters(boolean initialiseReadersAndWriters)
-
build
public TarFiles build() throws IOException
- Throws:
IOException
-
getDirectory
public File getDirectory()
-
isMemoryMapping
public boolean isMemoryMapping()
-
getTarRecovery
public TarRecovery getTarRecovery()
-
getIoMonitor
public IOMonitor getIoMonitor()
-
getFileStoreMonitor
public FileStoreMonitor getFileStoreMonitor()
-
getRemoteStoreMonitor
public RemoteStoreMonitor getRemoteStoreMonitor()
-
getMaxFileSize
public long getMaxFileSize()
-
isReadOnly
public boolean isReadOnly()
-
-