Package one.microstream.storage.types
Class StorageFileProvider.Abstract
java.lang.Object
one.microstream.persistence.types.PersistenceTypeDictionaryIoHandler.Provider.Abstract
one.microstream.storage.types.StorageFileProvider.Abstract
- All Implemented Interfaces:
PersistenceTypeDictionaryIoHandler.Provider
,StorageFileProvider
- Direct Known Subclasses:
StorageBackupFileProvider.Default
,StorageLiveFileProvider.Default
- Enclosing interface:
- StorageFileProvider
public abstract static class StorageFileProvider.Abstract extends PersistenceTypeDictionaryIoHandler.Provider.Abstract implements StorageFileProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryIoHandler.Provider
PersistenceTypeDictionaryIoHandler.Provider.Abstract
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageFileProvider
StorageFileProvider.Abstract, StorageFileProvider.Builder<B extends StorageFileProvider.Builder<?>>
-
Constructor Summary
Constructors Constructor Description Abstract()
-
Method Summary
Modifier and Type Method Description ADirectory
baseDirectory()
<F extends StorageDataFile, C extends Consumer<F>>
CcollectDataFiles(StorageDataFile.Creator<F> creator, C collector, int channelIndex)
ADirectory
deletionDirectory()
StorageFileNameProvider
fileNameProvider()
AFileSystem
fileSystem()
ADirectory
provideChannelDirectory(int channelIndex)
AFile
provideDataFile(int channelIndex, long fileNumber)
AFile
provideDeletionTargetFile(StorageChannelFile fileToBeDeleted)
AFile
provideLockFile()
AFile
provideTransactionsFile(int channelIndex)
AFile
provideTruncationTargetFile(StorageChannelFile fileToBeTruncated, long newLength)
String
toString()
ADirectory
truncationDirectory()
Methods inherited from class one.microstream.persistence.types.PersistenceTypeDictionaryIoHandler.Provider.Abstract
provideTypeDictionaryIoHandler
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryIoHandler.Provider
provideTypeDictionaryIoHandler, provideTypeDictionaryIoHandler
-
Constructor Details
-
Abstract
public Abstract()
-
-
Method Details
-
fileSystem
- Specified by:
fileSystem
in interfaceStorageFileProvider
-
baseDirectory
- Specified by:
baseDirectory
in interfaceStorageFileProvider
-
deletionDirectory
- Specified by:
deletionDirectory
in interfaceStorageFileProvider
-
truncationDirectory
- Specified by:
truncationDirectory
in interfaceStorageFileProvider
-
fileNameProvider
- Specified by:
fileNameProvider
in interfaceStorageFileProvider
-
provideDeletionTargetFile
- Specified by:
provideDeletionTargetFile
in interfaceStorageFileProvider
-
provideTruncationTargetFile
- Specified by:
provideTruncationTargetFile
in interfaceStorageFileProvider
-
collectDataFiles
public <F extends StorageDataFile, C extends Consumer<F>> C collectDataFiles(StorageDataFile.Creator<F> creator, C collector, int channelIndex)- Specified by:
collectDataFiles
in interfaceStorageFileProvider
-
provideChannelDirectory
-
provideDataFile
-
provideTransactionsFile
-
provideLockFile
-
toString
-