- java.lang.Object
-
- swim.db.PageRef
-
- swim.db.UTreePageRef
-
public final class UTreePageRef extends PageRef
-
-
Constructor Summary
Constructors Constructor Description UTreePageRef(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longbase()UTreePageRefcommitted(int zone, long base, long version)Cursor<Value>cursor()intdiffSize()static UTreePageRefempty(PageContext context, int stem, long version)UTreePageRefevacuated(int post, long version)Valuefold()static UTreePageReffromValue(PageContext context, int stem, Value value)UTreePagehardPage()booleanisCommitted()booleanisEmpty()voidloadPageAsync(boolean isResident, Cont<Page> cont)voidloadTreeAsync(boolean isResident, Cont<Page> cont)voidloadTreeAsync(PageLoader pageLoader, Cont<Page> cont)UTreePagepage()PageContextpageContext()intpageRefSize()intpageSize()PageTypepageType()intpost()UTreePagesetPageValue(Value value, boolean isResident)voidsoften(long version)UTreePagesoftPage()longsoftVersion()longspan()intstem()StringtoString()ValuetoValue()longtreeSize()UTreePageRefuncommitted(long version)voidwriteDiff(Output<?> output)voidwritePage(Output<?> output)voidwritePageRef(Output<?> output)intzone()-
Methods inherited from class swim.db.PageRef
settings, toDebugString
-
-
-
-
Constructor Detail
-
UTreePageRef
public UTreePageRef(PageContext context, int stem, int post, int zone, long base, Object page, int pageRefSize, int pageSize, int diffSize)
-
UTreePageRef
public UTreePageRef(PageContext context, int stem, int post, int zone, long base, Object page)
-
UTreePageRef
public UTreePageRef(PageContext context, int stem, int post, int zone, long base)
-
-
Method Detail
-
pageContext
public PageContext pageContext()
- Specified by:
pageContextin classPageRef
-
softVersion
public long softVersion()
- Specified by:
softVersionin classPageRef
-
isCommitted
public boolean isCommitted()
- Specified by:
isCommittedin classPageRef
-
pageRefSize
public int pageRefSize()
- Specified by:
pageRefSizein classPageRef
-
evacuated
public UTreePageRef evacuated(int post, long version)
-
committed
public UTreePageRef committed(int zone, long base, long version)
-
uncommitted
public UTreePageRef uncommitted(long version)
- Specified by:
uncommittedin classPageRef
-
writePageRef
public void writePageRef(Output<?> output)
- Specified by:
writePageRefin classPageRef
-
setPageValue
public UTreePage setPageValue(Value value, boolean isResident)
- Specified by:
setPageValuein classPageRef
-
loadPageAsync
public void loadPageAsync(boolean isResident, Cont<Page> cont)- Specified by:
loadPageAsyncin classPageRef
-
loadTreeAsync
public void loadTreeAsync(boolean isResident, Cont<Page> cont)- Specified by:
loadTreeAsyncin classPageRef
-
loadTreeAsync
public void loadTreeAsync(PageLoader pageLoader, Cont<Page> cont)
- Specified by:
loadTreeAsyncin classPageRef
-
empty
public static UTreePageRef empty(PageContext context, int stem, long version)
-
fromValue
public static UTreePageRef fromValue(PageContext context, int stem, Value value)
-
-