- 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
-
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:
pageContext
in classPageRef
-
softVersion
public long softVersion()
- Specified by:
softVersion
in classPageRef
-
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted
in classPageRef
-
pageRefSize
public int pageRefSize()
- Specified by:
pageRefSize
in 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:
uncommitted
in classPageRef
-
writePageRef
public void writePageRef(Output<?> output)
- Specified by:
writePageRef
in classPageRef
-
setPageValue
public UTreePage setPageValue(Value value, boolean isResident)
- Specified by:
setPageValue
in classPageRef
-
loadPage
public UTreePage loadPage(PageLoader pageLoader)
-
loadTree
public UTreePage loadTree(PageLoader pageLoader)
-
empty
public static UTreePageRef empty(PageContext context, int stem, long version)
-
fromValue
public static UTreePageRef fromValue(PageContext context, int stem, Value value)
-
-