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()booleanhasChanged()voidloadingUpdateEntries(XGettingTable<String,Object> resolvedRoots)static PersistenceRoots.DefaultNew(PersistenceRootResolver rootResolver, EqHashTable<String,Long> rootIdMapping)voidreinitializeEntries(XGettingTable<String,Object> newEntries)PersistenceRootReferencerootReference()voidupdateEntries(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:
hasChangedin interfacePersistenceRoots
-
rootReference
- Specified by:
rootReferencein interfacePersistenceRoots- Specified by:
rootReferencein interfacePersistenceRootsView
-
entries
- Specified by:
entriesin interfacePersistenceRoots
-
reinitializeEntries
- Specified by:
reinitializeEntriesin interfacePersistenceRoots
-
updateEntries
Used for example during roots synchronization when initializing an embedded storage instance.- Specified by:
updateEntriesin interfacePersistenceRoots- Parameters:
newEntries- the actual entries to be set.
-
loadingUpdateEntries
-
$rootResolver
-
$rootIdMapping
-
$discardRootIdMapping
public final void $discardRootIdMapping()
-