Class FileTypeIdStrategy
- java.lang.Object
-
- one.microstream.persistence.internal.FileTypeIdStrategy
-
- All Implemented Interfaces:
PersistenceTypeIdStrategy
public class FileTypeIdStrategy extends Object implements PersistenceTypeIdStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeIdStrategy
PersistenceTypeIdStrategy.Assembler<S extends PersistenceTypeIdStrategy>, PersistenceTypeIdStrategy.None, PersistenceTypeIdStrategy.Parser<S extends PersistenceTypeIdStrategy>, PersistenceTypeIdStrategy.Transient
-
-
Constructor Summary
Constructors Constructor Description FileTypeIdStrategy()
-
Method Summary
Modifier and Type Method Description PersistenceTypeIdProvider
createTypeIdProvider()
static String
defaultFilename()
static FileTypeIdStrategy
New(Path typeIdFile)
static FileTypeIdStrategy
New(Path directory, String typeIdFilename)
static FileTypeIdStrategy
NewInDirectory(Path directory)
static String
strategyTypeName()
String
strategyTypeNameTypeId()
-
-
-
Method Detail
-
strategyTypeName
public static String strategyTypeName()
-
defaultFilename
public static String defaultFilename()
-
NewInDirectory
public static FileTypeIdStrategy NewInDirectory(Path directory)
-
New
public static FileTypeIdStrategy New(Path directory, String typeIdFilename)
-
New
public static FileTypeIdStrategy New(Path typeIdFile)
-
strategyTypeNameTypeId
public final String strategyTypeNameTypeId()
- Specified by:
strategyTypeNameTypeId
in interfacePersistenceTypeIdStrategy
-
createTypeIdProvider
public final PersistenceTypeIdProvider createTypeIdProvider()
- Specified by:
createTypeIdProvider
in interfacePersistenceTypeIdStrategy
-
-