Class FileObjectIdStrategy
- java.lang.Object
-
- one.microstream.persistence.internal.FileObjectIdStrategy
-
- All Implemented Interfaces:
PersistenceObjectIdStrategy
public final class FileObjectIdStrategy extends Object implements PersistenceObjectIdStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceObjectIdStrategy
PersistenceObjectIdStrategy.Assembler<S extends PersistenceObjectIdStrategy>, PersistenceObjectIdStrategy.None, PersistenceObjectIdStrategy.Parser<S extends PersistenceObjectIdStrategy>, PersistenceObjectIdStrategy.Transient
-
-
Constructor Summary
Constructors Constructor Description FileObjectIdStrategy()
-
Method Summary
Modifier and Type Method Description PersistenceObjectIdProvider
createObjectIdProvider()
static String
defaultFilename()
static FileObjectIdStrategy
New(File objectIdFile)
static FileObjectIdStrategy
New(File directory, String objectIdFilename)
static FileObjectIdStrategy
NewInDirectory(File directory)
static String
strategyTypeName()
String
strategyTypeNameObjectId()
-
-
-
Method Detail
-
strategyTypeName
public static String strategyTypeName()
-
defaultFilename
public static String defaultFilename()
-
NewInDirectory
public static FileObjectIdStrategy NewInDirectory(File directory)
-
New
public static FileObjectIdStrategy New(File directory, String objectIdFilename)
-
New
public static FileObjectIdStrategy New(File objectIdFile)
-
strategyTypeNameObjectId
public final String strategyTypeNameObjectId()
- Specified by:
strategyTypeNameObjectId
in interfacePersistenceObjectIdStrategy
-
createObjectIdProvider
public final PersistenceObjectIdProvider createObjectIdProvider()
- Specified by:
createObjectIdProvider
in interfacePersistenceObjectIdStrategy
-
-