java.lang.Object
swim.db.Tree
swim.db.UTree
-
Constructor Summary
ConstructorsConstructorDescriptionUTree
(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient) UTree
(TreeContext treeContext, Seed seed, boolean isResident, boolean isTransient) UTree
(TreeContext treeContext, UTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleared
(long newVersion) committed
(int zone, long base, long version, long time) cursor()
int
diffSize
(long version) evacuated
(int post, long version) get()
boolean
isEmpty()
boolean
isResident
(boolean isResident) boolean
isTransient
(boolean isTransient) load()
rootPage()
rootRef()
seed()
void
soften
(long version) long
treeSize()
treeType()
uncommitted
(long version) void
Methods inherited from class swim.db.Tree
fold, post, settings, setTreeDelegate, span, stem, toDiff, treeDelegate
-
Constructor Details
-
UTree
public UTree(TreeContext treeContext, UTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient) -
UTree
-
UTree
public UTree(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient)
-
-
Method Details
-
treeType
-
treeContext
- Specified by:
treeContext
in classTree
-
rootRef
-
rootPage
-
seed
-
isResident
public boolean isResident()- Specified by:
isResident
in classTree
-
isResident
- Specified by:
isResident
in classTree
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in classTree
-
isTransient
- Specified by:
isTransient
in classTree
-
isEmpty
public boolean isEmpty() -
get
-
updated
-
cleared
-
diffSize
public int diffSize(long version) -
treeSize
public long treeSize() -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommitted
in classTree
-
writeDiff
-
buildDiff
-
load
-
soften
public void soften(long version) -
cursor
-