org.apache.derby.impl.store.access.btree
Class D_BTreeController
java.lang.Object
org.apache.derby.iapi.services.diag.DiagnosticableGeneric
org.apache.derby.impl.store.access.btree.D_BTreeController
- All Implemented Interfaces:
- Diagnosticable
- Direct Known Subclasses:
- D_B2IController
public class D_BTreeController
- extends DiagnosticableGeneric
Method Summary |
private static void |
diag_level(OpenBTree open_btree,
ControlRow control_row,
java.util.Properties prop,
LevelInfo[] level_info)
|
private static java.lang.String |
diag_onelevel(java.util.Properties prop,
LevelInfo li)
|
private static void |
diag_page(OpenBTree open_btree,
ControlRow control_row,
java.util.Properties prop,
LevelInfo[] level_info)
|
private static java.lang.String |
diag_tabulate(java.util.Properties prop,
LevelInfo[] level_info)
|
java.lang.String |
diag()
Default implementation of diagnostic on the object. |
void |
init(java.lang.Object obj)
|
private static java.lang.String |
olddiag_tabulate(java.util.Properties prop,
LevelInfo[] level_info)
|
private static java.lang.String |
out_summary(java.lang.String hdr,
long value,
double ratio,
java.lang.String ratio_desc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
D_BTreeController
public D_BTreeController()
diag_page
private static void diag_page(OpenBTree open_btree,
ControlRow control_row,
java.util.Properties prop,
LevelInfo[] level_info)
throws StandardException
- Throws:
StandardException
diag_level
private static void diag_level(OpenBTree open_btree,
ControlRow control_row,
java.util.Properties prop,
LevelInfo[] level_info)
throws StandardException
- Throws:
StandardException
out_summary
private static java.lang.String out_summary(java.lang.String hdr,
long value,
double ratio,
java.lang.String ratio_desc)
diag_onelevel
private static java.lang.String diag_onelevel(java.util.Properties prop,
LevelInfo li)
diag_tabulate
private static java.lang.String diag_tabulate(java.util.Properties prop,
LevelInfo[] level_info)
olddiag_tabulate
private static java.lang.String olddiag_tabulate(java.util.Properties prop,
LevelInfo[] level_info)
init
public void init(java.lang.Object obj)
- Specified by:
init
in interface Diagnosticable
- Overrides:
init
in class DiagnosticableGeneric
diag
public java.lang.String diag()
throws StandardException
- Default implementation of diagnostic on the object.
This routine returns a string with whatever diagnostic information
you would like to provide about this object.
This routine returns a summary table of information about pages in
each level of the btree. It tells the height of the tree, the
average free and reserved bytes per level, and the page size.
- Specified by:
diag
in interface Diagnosticable
- Overrides:
diag
in class DiagnosticableGeneric
- Returns:
- A string with diagnostic information about the object.
- Throws:
StandardException
- Standard Derby exception policy
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.