Package one.microstream.storage.types
Interface StorageFileProvider
- All Superinterfaces:
PersistenceTypeDictionaryIoHandler.Provider
- All Known Subinterfaces:
StorageBackupFileProvider
,StorageLiveFileProvider
- All Known Implementing Classes:
StorageBackupFileProvider.Default
,StorageFileProvider.Abstract
,StorageLiveFileProvider.Default
public interface StorageFileProvider extends PersistenceTypeDictionaryIoHandler.Provider
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StorageFileProvider.Abstract
static interface
StorageFileProvider.Builder<B extends StorageFileProvider.Builder<?>>
-
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()
AFile
provideDeletionTargetFile(StorageChannelFile fileToBeDeleted)
AFile
provideTruncationTargetFile(StorageChannelFile fileToBeTruncated, long newLength)
ADirectory
truncationDirectory()
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryIoHandler.Provider
provideTypeDictionaryIoHandler, provideTypeDictionaryIoHandler
-
Method Details
-
fileSystem
AFileSystem fileSystem() -
baseDirectory
ADirectory baseDirectory() -
deletionDirectory
ADirectory deletionDirectory() -
truncationDirectory
ADirectory truncationDirectory() -
fileNameProvider
StorageFileNameProvider fileNameProvider() -
provideDeletionTargetFile
-
provideTruncationTargetFile
-
collectDataFiles
<F extends StorageDataFile, C extends Consumer<F>> C collectDataFiles(StorageDataFile.Creator<F> creator, C collector, int channelIndex)
-