java.lang.Object
swim.db.Database
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclose()closeTrunk(Value name) voidcommitAsync(Commit commit) commitChunk(Commit commit, int zone, long base) voiddatabaseDidCloseTrunk(Trunk<?> trunk) voiddatabaseDidCreateTrunk(Trunk<?> trunk) voiddatabaseDidOpenTrunk(Trunk<?> trunk) voiddatabaseDidUpdateTrunk(Trunk<?> trunk, Tree newTree, Tree oldTree, long newVersion) protected voiddidClose()Lifecycle callback invoked upon entering the closed state.protected voiddidOpen()Lifecycle callback invoked upon entering the opened state.longdiffSize()germ()booleanleafs()protected voidonClose()Lifecycle callback invoked to actually close the database.protected voidonOpen()Lifecycle callback invoked to actually open the database.booleanopen()openBTreeMap(String name) openBTreeMap(Value name) openBTreeMap(Value name, boolean isResident, boolean isTransient) openBTreeTrunk(Value name, boolean isResident, boolean isTransient) <S> QTreeMap<S>openQTreeMap(String name, Z2Form<S> shapeForm) <S> QTreeMap<S>openQTreeMap(Value name, Z2Form<S> shapeForm) <S> QTreeMap<S>openQTreeMap(Value name, Z2Form<S> shapeForm, boolean isResident, boolean isTransient) openQTreeTrunk(Value name, boolean isResident, boolean isTransient) openSTreeList(String name) openSTreeList(Value name) openSTreeList(Value name, boolean isResident, boolean isTransient) openSTreeTrunk(Value name, boolean isResident, boolean isTransient) openUTreeValue(String name) openUTreeValue(Value name) intpost()voidremoveTree(Value name) voidsetDatabaseDelegate(DatabaseDelegate delegate) settings()voidstage()intstem()store()longtrees()longtreeSize()intvoiduncommit(long version) longversion()protected voidLifecycle callback invoked upon entering the closing state.protected voidwillOpen()Lifecycle callback invoked upon entering the opening state.
-
Method Details
-
store
-
settings
-
stage
-
databaseDelegate
-
setDatabaseDelegate
-
germ
-
stem
public int stem() -
post
public int post() -
version
public long version() -
diffSize
public long diffSize() -
treeSize
public long treeSize() -
treeCount
public long treeCount() -
trunkCount
public int trunkCount() -
isCompacting
public boolean isCompacting() -
open
public boolean open() -
willOpen
protected void willOpen()Lifecycle callback invoked upon entering the opening state. -
onOpen
protected void onOpen()Lifecycle callback invoked to actually open the database. -
didOpen
protected void didOpen()Lifecycle callback invoked upon entering the opened state. -
close
public boolean close() -
willClose
protected void willClose()Lifecycle callback invoked upon entering the closing state. -
onClose
protected void onClose()Lifecycle callback invoked to actually close the database. -
didClose
protected void didClose()Lifecycle callback invoked upon entering the closed state. -
openTrunk
-
openBTreeTrunk
-
openBTreeMap
-
openBTreeMap
-
openBTreeMap
-
openQTreeTrunk
-
openQTreeMap
-
openQTreeMap
-
openQTreeMap
-
openSTreeTrunk
-
openSTreeList
-
openSTreeList
-
openSTreeList
-
openUTreeValue
-
openUTreeValue
-
closeTrunk
-
removeTree
-
commitAsync
-
commit
- Throws:
InterruptedException
-
shiftZone
public void shiftZone() -
commitChunk
-
uncommit
public void uncommit(long version) -
trees
-
leafs
-
databaseDidCreateTrunk
-
databaseDidOpenTrunk
-
databaseDidUpdateTrunk
-
databaseDidCloseTrunk
-