Class PersistenceRoots.Default
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceRoots.Default
-
- All Implemented Interfaces:
PersistenceRoots
- Enclosing interface:
- PersistenceRoots
public static final class PersistenceRoots.Default extends Object implements PersistenceRoots
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceRoots
PersistenceRoots.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description Object
customRoot()
String
customRootIdentifier()
Reference<Object>
defaultRoot()
String
defaultRootIdentifier()
XGettingTable<String,Object>
entries()
boolean
hasChanged()
void
loadingUpdateEntries(XGettingTable<String,Object> resolvedRoots)
static PersistenceRoots.Default
New(PersistenceRootResolver rootResolver)
void
reinitializeEntries(XGettingTable<String,Object> newEntries)
void
updateEntries(XGettingTable<String,Object> newEntries)
Used for example during roots synchronization when initializing an embedded storage instance.
-
-
-
Method Detail
-
New
public static PersistenceRoots.Default New(PersistenceRootResolver rootResolver)
-
defaultRootIdentifier
public final String defaultRootIdentifier()
- Specified by:
defaultRootIdentifier
in interfacePersistenceRoots
-
defaultRoot
public final Reference<Object> defaultRoot()
- Specified by:
defaultRoot
in interfacePersistenceRoots
-
customRootIdentifier
public final String customRootIdentifier()
- Specified by:
customRootIdentifier
in interfacePersistenceRoots
-
customRoot
public final Object customRoot()
- Specified by:
customRoot
in interfacePersistenceRoots
-
hasChanged
public final boolean hasChanged()
- Specified by:
hasChanged
in interfacePersistenceRoots
-
entries
public final XGettingTable<String,Object> entries()
- Specified by:
entries
in interfacePersistenceRoots
-
reinitializeEntries
public final void reinitializeEntries(XGettingTable<String,Object> newEntries)
- Specified by:
reinitializeEntries
in interfacePersistenceRoots
-
updateEntries
public final void updateEntries(XGettingTable<String,Object> newEntries)
Used for example during roots synchronization when initializing an embedded storage instance.- Specified by:
updateEntries
in interfacePersistenceRoots
- Parameters:
newEntries
- the actual entries to be set.
-
loadingUpdateEntries
public final void loadingUpdateEntries(XGettingTable<String,Object> resolvedRoots)
-
-