|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.xindice.core.filer.Paged.PageHeader
public abstract class Paged.PageHeader
PageHeader
Constructor Summary | |
---|---|
Paged.PageHeader()
|
|
Paged.PageHeader(DataInputStream dis)
|
Method Summary | |
---|---|
int |
getDataLen()
The length of the Data |
int |
getKeyHash()
The hashed value of the Key for quick comparisons |
int |
getKeyLen()
The length of the Key |
long |
getNextPage()
The next page for this Record (if overflowed) |
int |
getRecordLen()
The length of the Record's value |
byte |
getStatus()
The status of this page (UNUSED, RECORD, DELETED, etc...) |
boolean |
isDirty()
|
void |
read(DataInputStream dis)
read reads the object state from the stream. |
void |
setDataLen(int dataLen)
The length of the Data |
void |
setDirty()
|
void |
setKey(Key key)
|
void |
setKeyHash(int keyHash)
The hashed value of the Key for quick comparisons |
void |
setKeyLen(int keyLen)
The length of the Key |
void |
setNextPage(long nextPage)
The next page for this Record (if overflowed) |
void |
setRecordLen(int recordLen)
The length of the Record's value |
void |
setStatus(byte status)
The status of this page (UNUSED, RECORD, DELETED, etc...) |
void |
write(DataOutputStream dos)
write writes the object state to the stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Paged.PageHeader()
public Paged.PageHeader(DataInputStream dis) throws IOException
IOException
Method Detail |
---|
public void read(DataInputStream dis) throws IOException
Streamable
read
in interface Streamable
dis
- The DataInputStream
IOException
- if an IOException occurspublic void write(DataOutputStream dos) throws IOException
Streamable
write
in interface Streamable
dos
- The DataOutputStream
IOException
- if an IOException occurspublic final boolean isDirty()
public final void setDirty()
public final void setStatus(byte status)
status
- the new statuspublic final byte getStatus()
public final void setKey(Key key)
public final void setKeyLen(int keyLen)
keyLen
- the new key lengthpublic final int getKeyLen()
public final void setKeyHash(int keyHash)
keyHash
- sets the key hashpublic final int getKeyHash()
public final void setDataLen(int dataLen)
dataLen
- sets the data lengthpublic final int getDataLen()
public void setRecordLen(int recordLen)
recordLen
- sets the record lengthpublic final int getRecordLen()
public final void setNextPage(long nextPage)
nextPage
- next pagepublic final long getNextPage()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |