public class D_BTreeController extends DiagnosticableGeneric
diag_object| Constructor and Description |
|---|
D_BTreeController() |
| Modifier and Type | Method and Description |
|---|---|
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) |
diag_detailprivate static void diag_page(OpenBTree open_btree, ControlRow control_row, java.util.Properties prop, LevelInfo[] level_info) throws StandardException
StandardExceptionprivate static void diag_level(OpenBTree open_btree, ControlRow control_row, java.util.Properties prop, LevelInfo[] level_info) throws StandardException
StandardExceptionprivate static java.lang.String out_summary(java.lang.String hdr,
long value,
double ratio,
java.lang.String ratio_desc)
private static java.lang.String diag_onelevel(java.util.Properties prop,
LevelInfo li)
private static java.lang.String diag_tabulate(java.util.Properties prop,
LevelInfo[] level_info)
private static java.lang.String olddiag_tabulate(java.util.Properties prop,
LevelInfo[] level_info)
public void init(java.lang.Object obj)
init in interface Diagnosticableinit in class DiagnosticableGenericpublic java.lang.String diag()
throws StandardException
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.
diag in interface Diagnosticablediag in class DiagnosticableGenericStandardException - Standard Derby exception policyApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.