|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.store.raw.data.D_StoredPage
public class D_StoredPage
The D_StoredPage class provides diagnostic information about the StoredPage class. Currently this info includes: o a dump of the page. o page size of the page. o bytes free on the page. o bytes reserved on the page.
Field Summary | |
---|---|
protected StoredPage |
page
|
Constructor Summary | |
---|---|
D_StoredPage()
|
Method Summary | |
---|---|
boolean |
checkSlotTable(java.io.PrintStream out)
Checks the slot table. |
void |
diag_detail(java.util.Properties prop)
Provide detailed diagnostic information about a StoredPage. |
java.lang.String |
diag()
Provide a string dump of the StoredPage. |
void |
init(java.lang.Object obj)
|
java.lang.String |
pageHeaderToString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected StoredPage page
Constructor Detail |
---|
public D_StoredPage()
Method Detail |
---|
public void init(java.lang.Object obj)
init
in interface Diagnosticable
public java.lang.String diag() throws StandardException
RESOLVE - once the "Diagnostic" interface is accepted move the string dumping code into this routine from it's current place in the StoredPage code.
diag
in interface Diagnosticable
StandardException
- Standard exception policy.public void diag_detail(java.util.Properties prop) throws StandardException
Currently supports 3 types of information: Page.DIAG_PAGE_SIZE - page size. Page.DIAG_BTYES_FREE - # of free bytes on the page. Page.DIAG_BYTES_RESERVED - # of reserved bytes on the page.
diag_detail
in interface Diagnosticable
StandardException
- Standard exception policy.public boolean checkSlotTable(java.io.PrintStream out) throws StandardException, java.io.IOException
1) checks the number of slot entries matches the record count 2) checks the slot table lengths match the field lengths
StandardException
- Standard exception policy.
java.io.IOException
public java.lang.String pageHeaderToString()
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |