Package one.microstream.storage.types
Class StorageFileNameProvider.Default
java.lang.Object
one.microstream.storage.types.StorageFileNameProvider.Default
- All Implemented Interfaces:
StorageFileNameProvider
- Enclosing interface:
- StorageFileNameProvider
public static final class StorageFileNameProvider.Default extends Object implements StorageFileNameProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.StorageFileNameProvider
StorageFileNameProvider.Builder<B extends StorageFileNameProvider.Builder<?>>, StorageFileNameProvider.Default, StorageFileNameProvider.Defaults
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description String
channelDirectoryPrefix()
String
dataFilePrefix()
String
dataFileType()
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
toString()
String
transactionsFilePrefix()
String
transactionsFileType()
String
typeDictionaryFileName()
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
dataFilePrefix
-
transactionsFilePrefix
-
channelDirectoryPrefix
-
provideChannelDirectoryName
- Specified by:
provideChannelDirectoryName
in interfaceStorageFileNameProvider
-
dataFileType
- Specified by:
dataFileType
in interfaceStorageFileNameProvider
-
transactionsFileType
- Specified by:
transactionsFileType
in interfaceStorageFileNameProvider
-
rescuedFileType
- Specified by:
rescuedFileType
in interfaceStorageFileNameProvider
-
typeDictionaryFileName
- Specified by:
typeDictionaryFileName
in interfaceStorageFileNameProvider
-
lockFileName
- Specified by:
lockFileName
in interfaceStorageFileNameProvider
-
provideDataFileName
- Specified by:
provideDataFileName
in interfaceStorageFileNameProvider
-
provideTransactionsFileName
- Specified by:
provideTransactionsFileName
in interfaceStorageFileNameProvider
-
parseDataInventoryFile
public <F extends StorageDataFile> void parseDataInventoryFile(StorageDataFile.Creator<F> fileCreator, Consumer<? super F> collector, int channelIndex, AFile file)- Specified by:
parseDataInventoryFile
in interfaceStorageFileNameProvider
-
toString
-