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
-
Field Summary
Fields inherited from class DiagnosticableGeneric
diag_object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiag()Default implementation of diagnostic on the object.private static voiddiag_level(OpenBTree open_btree, ControlRow control_row, Properties prop, LevelInfo[] level_info) private static Stringdiag_onelevel(Properties prop, LevelInfo li) private static voiddiag_page(OpenBTree open_btree, ControlRow control_row, Properties prop, LevelInfo[] level_info) private static Stringdiag_tabulate(Properties prop, LevelInfo[] level_info) voidprivate static Stringolddiag_tabulate(Properties prop, LevelInfo[] level_info) private static Stringout_summary(String hdr, long value, double ratio, String ratio_desc) Methods inherited from class DiagnosticableGeneric
diag_detail
-
Constructor Details
-
D_BTreeController
public D_BTreeController()
-
-
Method Details
-
diag_page
private static void diag_page(OpenBTree open_btree, ControlRow control_row, Properties prop, LevelInfo[] level_info) throws StandardException - Throws:
StandardException
-
diag_level
private static void diag_level(OpenBTree open_btree, ControlRow control_row, Properties prop, LevelInfo[] level_info) throws StandardException - Throws:
StandardException
-
out_summary
-
diag_onelevel
-
diag_tabulate
-
olddiag_tabulate
-
init
- Specified by:
initin interfaceDiagnosticable- Overrides:
initin classDiagnosticableGeneric
-
diag
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:
diagin interfaceDiagnosticable- Overrides:
diagin classDiagnosticableGeneric- Returns:
- A string with diagnostic information about the object.
- Throws:
StandardException- Standard Derby exception policy
-