java.lang.Object
swim.db.PageRef
swim.db.UTreePageRef
-
Constructor Summary
ConstructorsConstructorDescriptionUTreePageRef(PageContext context, int stem, int post, int zone, long base) UTreePageRef(PageContext context, int stem, int post, int zone, long base, Object page) UTreePageRef(PageContext context, int stem, int post, int zone, long base, Object page, int pageRefSize, int pageSize, int diffSize) -
Method Summary
Modifier and TypeMethodDescriptionlongbase()voidcommitted(int zone, long base, long version) cursor()intdiffSize()static UTreePageRefempty(PageContext context, int stem, long version) evacuated(int post, long version) fold()static UTreePageReffromValue(PageContext context, int stem, Value value) hardPage()booleanbooleanisEmpty()loadPage(boolean isResident) loadPage(PageLoader pageLoader) loadTree(boolean isResident) loadTree(PageLoader pageLoader) page()intintpageSize()pageType()intpost()setPageValue(Value value, boolean isResident) voidsoften(long version) softPage()longlongspan()intstem()toString()toValue()longtreeSize()uncommitted(long version) voidvoidvoidwritePageRef(Output<?> output) intzone()Methods inherited from class swim.db.PageRef
settings, toDebugString
-
Constructor Details
-
UTreePageRef
public UTreePageRef(PageContext context, int stem, int post, int zone, long base, Object page, int pageRefSize, int pageSize, int diffSize) -
UTreePageRef
-
UTreePageRef
-
-
Method Details
-
pageContext
- Specified by:
pageContextin classPageRef
-
pageType
-
stem
public int stem() -
post
public int post() -
zone
public int zone() -
base
public long base() -
span
public long span() -
fold
-
page
-
hardPage
-
softPage
-
softVersion
public long softVersion()- Specified by:
softVersionin classPageRef
-
isEmpty
public boolean isEmpty() -
isCommitted
public boolean isCommitted()- Specified by:
isCommittedin classPageRef
-
pageRefSize
public int pageRefSize()- Specified by:
pageRefSizein classPageRef
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toValue
-
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classPageRef
-
writePageRef
- Specified by:
writePageRefin classPageRef
-
writePage
-
writeDiff
-
buildDiff
-
setPageValue
- Specified by:
setPageValuein classPageRef
-
loadPage
-
loadPage
-
loadTree
-
loadTree
-
soften
public void soften(long version) -
cursor
-
toString
-
empty
-
fromValue
-