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 org.apache.derby.iapi.services.diag.DiagnosticableGeneric
diag_object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiag()
Default implementation of diagnostic on the object.private static void
diag_level
(OpenBTree open_btree, ControlRow control_row, Properties prop, LevelInfo[] level_info) private static String
diag_onelevel
(Properties prop, LevelInfo li) private static void
diag_page
(OpenBTree open_btree, ControlRow control_row, Properties prop, LevelInfo[] level_info) private static String
diag_tabulate
(Properties prop, LevelInfo[] level_info) void
private static String
olddiag_tabulate
(Properties prop, LevelInfo[] level_info) private static String
out_summary
(String hdr, long value, double ratio, String ratio_desc) Methods inherited from class org.apache.derby.iapi.services.diag.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:
init
in interfaceDiagnosticable
- Overrides:
init
in 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:
diag
in interfaceDiagnosticable
- Overrides:
diag
in classDiagnosticableGeneric
- Returns:
- A string with diagnostic information about the object.
- Throws:
StandardException
- Standard Derby exception policy
-