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(File typeIdFile)
static FileTypeIdStrategy
New(File directory, String typeIdFilename)
static FileTypeIdStrategy
NewInDirectory(File directory)
static String
strategyTypeName()
String
strategyTypeNameTypeId()
-
-
-
Method Detail
-
strategyTypeName
public static String strategyTypeName()
-
defaultFilename
public static String defaultFilename()
-
NewInDirectory
public static FileTypeIdStrategy NewInDirectory(File directory)
-
New
public static FileTypeIdStrategy New(File directory, String typeIdFilename)
-
New
public static FileTypeIdStrategy New(File typeIdFile)
-
strategyTypeNameTypeId
public final String strategyTypeNameTypeId()
- Specified by:
strategyTypeNameTypeId
in interfacePersistenceTypeIdStrategy
-
createTypeIdProvider
public final PersistenceTypeIdProvider createTypeIdProvider()
- Specified by:
createTypeIdProvider
in interfacePersistenceTypeIdStrategy
-
-