public class Page<T> extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
PAGE_END_TYPE |
static byte |
PAGE_FREE_TYPE |
static int |
PAGE_HEADER_SIZE |
static byte |
PAGE_PART_TYPE |
Modifier and Type | Method and Description |
---|---|
Page<T> |
copy(Page<T> other) |
T |
get() |
int |
getChecksum() |
long |
getNext() |
long |
getPageId() |
long |
getTxId() |
short |
getType() |
void |
makePageEnd(long size,
long txId) |
void |
makePagePart(long next,
long txId) |
void |
set(T data) |
void |
setChecksum(int checksum) |
String |
toString() |
public static final int PAGE_HEADER_SIZE
public static final byte PAGE_FREE_TYPE
public static final byte PAGE_PART_TYPE
public static final byte PAGE_END_TYPE
public void makePagePart(long next, long txId)
public void makePageEnd(long size, long txId)
public long getPageId()
public long getTxId()
public T get()
public void set(T data)
public short getType()
public long getNext()
public int getChecksum()
public void setChecksum(int checksum)
Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.