Class RootReference
- java.lang.Object
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.RootReference
-
public final class RootReference extends Object
Class RootReference is an immutable structure to represent state of the MVMap as a whole (not related to a particular B-Tree node). Single structure would allow for non-blocking atomic state change. The most important part of it is a reference to the root node.- Author:
- Andrei Tokar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTotalCount()
boolean
isLockedByCurrentThread()
boolean
needFlush()
Whether flushing is needed.String
toString()
-
-
-
Field Detail
-
root
public final Page root
The root page.
-
version
public final long version
The version used for writing.
-
-