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 PersistenceObjectIdProvidercreateObjectIdProvider()static StringdefaultFilename()static FileObjectIdStrategyNew(Path objectIdFile)static FileObjectIdStrategyNew(Path directory, String objectIdFilename)static FileObjectIdStrategyNewInDirectory(Path directory)static StringstrategyTypeName()StringstrategyTypeNameObjectId()
-
-
-
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:
strategyTypeNameObjectIdin interfacePersistenceObjectIdStrategy
-
createObjectIdProvider
public final PersistenceObjectIdProvider createObjectIdProvider()
- Specified by:
createObjectIdProviderin interfacePersistenceObjectIdStrategy
-
-