|
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.Page
public final class Paged.Page
Paged file's page
Constructor Summary | |
---|---|
Paged.Page(Long pageNum)
|
Method Summary | |
---|---|
int |
compareTo(Paged.Page o)
|
void |
flush()
Flushes content of the dirty page into the file |
Key |
getKey()
|
Paged.PageHeader |
getPageHeader()
|
Long |
getPageNum()
|
void |
read()
Reads a page into the memory, once. |
void |
setKey(Key key)
|
void |
streamFrom(InputStream is)
|
void |
streamTo(OutputStream os)
|
void |
write()
Writes out the header into the this.data, and adds a page to the set of dirty pages. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Paged.Page(Long pageNum)
Method Detail |
---|
public void read() throws IOException
IOException
- if an io error occurspublic void write() throws IOException
IOException
- if an io error occurspublic void flush() throws IOException
IOException
- if an io error occurspublic Long getPageNum()
public Paged.PageHeader getPageHeader()
public void setKey(Key key)
public Key getKey()
public void streamTo(OutputStream os) throws IOException
IOException
public void streamFrom(InputStream is) throws IOException
IOException
public int compareTo(Paged.Page o)
compareTo
in interface Comparable<Paged.Page>
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |