Package one.microstream.storage.types
Interface StorageFileNameProvider
- All Known Implementing Classes:
StorageFileNameProvider.Default
public interface StorageFileNameProvider
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StorageFileNameProvider.Builder<B extends StorageFileNameProvider.Builder<?>>
static class
StorageFileNameProvider.Default
static interface
StorageFileNameProvider.Defaults
-
Method Summary
Modifier and Type Method Description static StorageFileNameProvider.Builder<?>
Builder()
String
dataFileType()
String
lockFileName()
static StorageFileNameProvider
New(String channelDirectoryPrefix, String dataFilePrefix, String dataFileSuffix, String transactionsFilePrefix, String transactionsFileSuffix, String rescuedFileSuffix, String typeDictionaryFileName, String lockFileName)
<F extends StorageDataFile>
voidparseDataInventoryFile(StorageDataFile.Creator<F> fileCreator, Consumer<? super F> collector, int channelIndex, AFile file)
String
provideChannelDirectoryName(int hashIndex)
String
provideDataFileName(int channelIndex, long fileNumber)
String
provideTransactionsFileName(int channelIndex)
String
rescuedFileType()
String
transactionsFileType()
String
typeDictionaryFileName()
-
Method Details
-
provideChannelDirectoryName
-
dataFileType
String dataFileType() -
transactionsFileType
String transactionsFileType() -
rescuedFileType
String rescuedFileType() -
typeDictionaryFileName
String typeDictionaryFileName() -
lockFileName
String lockFileName() -
provideDataFileName
-
provideTransactionsFileName
-
parseDataInventoryFile
<F extends StorageDataFile> void parseDataInventoryFile(StorageDataFile.Creator<F> fileCreator, Consumer<? super F> collector, int channelIndex, AFile file) -
New
-
Builder
-