Class PersistenceRoots.Default
java.lang.Object
one.microstream.persistence.types.PersistenceRoots.Default
- All Implemented Interfaces:
PersistenceRoots
,PersistenceRootsView
- 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
-
Method Summary
Modifier and Type Method Description void
$discardRootIdMapping()
EqHashTable<String,Long>
$rootIdMapping()
PersistenceRootResolver
$rootResolver()
XGettingTable<String,Object>
entries()
boolean
hasChanged()
void
loadingUpdateEntries(XGettingTable<String,Object> resolvedRoots)
static PersistenceRoots.Default
New(PersistenceRootResolver rootResolver, EqHashTable<String,Long> rootIdMapping)
void
reinitializeEntries(XGettingTable<String,Object> newEntries)
PersistenceRootReference
rootReference()
void
updateEntries(XGettingTable<String,Object> newEntries)
Used for example during roots synchronization when initializing an embedded storage instance.
-
Method Details
-
New
public static PersistenceRoots.Default New(PersistenceRootResolver rootResolver, EqHashTable<String,Long> rootIdMapping) -
hasChanged
public final boolean hasChanged()- Specified by:
hasChanged
in interfacePersistenceRoots
-
rootReference
- Specified by:
rootReference
in interfacePersistenceRoots
- Specified by:
rootReference
in interfacePersistenceRootsView
-
entries
- Specified by:
entries
in interfacePersistenceRoots
-
reinitializeEntries
- Specified by:
reinitializeEntries
in interfacePersistenceRoots
-
updateEntries
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
-
$rootResolver
-
$rootIdMapping
-
$discardRootIdMapping
public final void $discardRootIdMapping()
-