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(Path objectIdFile)
static FileObjectIdStrategy
New(Path directory, String objectIdFilename)
static FileObjectIdStrategy
NewInDirectory(Path directory)
static String
strategyTypeName()
String
strategyTypeNameObjectId()
-
-
-
Method Detail
-
strategyTypeName
public static String strategyTypeName()
-
defaultFilename
public static String defaultFilename()
-
NewInDirectory
public static FileObjectIdStrategy NewInDirectory(Path directory)
-
New
public static FileObjectIdStrategy New(Path directory, String objectIdFilename)
-
New
public static FileObjectIdStrategy New(Path objectIdFile)
-
strategyTypeNameObjectId
public final String strategyTypeNameObjectId()
- Specified by:
strategyTypeNameObjectId
in interfacePersistenceObjectIdStrategy
-
createObjectIdProvider
public final PersistenceObjectIdProvider createObjectIdProvider()
- Specified by:
createObjectIdProvider
in interfacePersistenceObjectIdStrategy
-
-