00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class BtreeStats extends DatabaseStats {
00013
00014 protected BtreeStats() {}
00015
00016 private int bt_magic;
00017 public int getMagic() {
00018 return bt_magic;
00019 }
00020
00021 private int bt_version;
00022 public int getVersion() {
00023 return bt_version;
00024 }
00025
00026 private int bt_metaflags;
00027 public int getMetaFlags() {
00028 return bt_metaflags;
00029 }
00030
00031 private int bt_nkeys;
00032 public int getNumKeys() {
00033 return bt_nkeys;
00034 }
00035
00036 private int bt_ndata;
00037 public int getNumData() {
00038 return bt_ndata;
00039 }
00040
00041 private int bt_pagesize;
00042 public int getPageSize() {
00043 return bt_pagesize;
00044 }
00045
00046 private int bt_minkey;
00047 public int getMinKey() {
00048 return bt_minkey;
00049 }
00050
00051 private int bt_re_len;
00052 public int getReLen() {
00053 return bt_re_len;
00054 }
00055
00056 private int bt_re_pad;
00057 public int getRePad() {
00058 return bt_re_pad;
00059 }
00060
00061 private int bt_levels;
00062 public int getLevels() {
00063 return bt_levels;
00064 }
00065
00066 private int bt_int_pg;
00067 public int getIntPages() {
00068 return bt_int_pg;
00069 }
00070
00071 private int bt_leaf_pg;
00072 public int getLeafPages() {
00073 return bt_leaf_pg;
00074 }
00075
00076 private int bt_dup_pg;
00077 public int getDupPages() {
00078 return bt_dup_pg;
00079 }
00080
00081 private int bt_over_pg;
00082 public int getOverPages() {
00083 return bt_over_pg;
00084 }
00085
00086 private int bt_empty_pg;
00087 public int getEmptyPages() {
00088 return bt_empty_pg;
00089 }
00090
00091 private int bt_free;
00092 public int getFree() {
00093 return bt_free;
00094 }
00095
00096 private int bt_int_pgfree;
00097 public int getIntPagesFree() {
00098 return bt_int_pgfree;
00099 }
00100
00101 private int bt_leaf_pgfree;
00102 public int getLeafPagesFree() {
00103 return bt_leaf_pgfree;
00104 }
00105
00106 private int bt_dup_pgfree;
00107 public int getDupPagesFree() {
00108 return bt_dup_pgfree;
00109 }
00110
00111 private int bt_over_pgfree;
00112 public int getOverPagesFree() {
00113 return bt_over_pgfree;
00114 }
00115
00116 public String toString() {
00117 return "BtreeStats:"
00118 + "\n bt_magic=" + bt_magic
00119 + "\n bt_version=" + bt_version
00120 + "\n bt_metaflags=" + bt_metaflags
00121 + "\n bt_nkeys=" + bt_nkeys
00122 + "\n bt_ndata=" + bt_ndata
00123 + "\n bt_pagesize=" + bt_pagesize
00124 + "\n bt_minkey=" + bt_minkey
00125 + "\n bt_re_len=" + bt_re_len
00126 + "\n bt_re_pad=" + bt_re_pad
00127 + "\n bt_levels=" + bt_levels
00128 + "\n bt_int_pg=" + bt_int_pg
00129 + "\n bt_leaf_pg=" + bt_leaf_pg
00130 + "\n bt_dup_pg=" + bt_dup_pg
00131 + "\n bt_over_pg=" + bt_over_pg
00132 + "\n bt_empty_pg=" + bt_empty_pg
00133 + "\n bt_free=" + bt_free
00134 + "\n bt_int_pgfree=" + bt_int_pgfree
00135 + "\n bt_leaf_pgfree=" + bt_leaf_pgfree
00136 + "\n bt_dup_pgfree=" + bt_dup_pgfree
00137 + "\n bt_over_pgfree=" + bt_over_pgfree
00138 ;
00139 }
00140 }