00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class HashStats extends DatabaseStats {
00013
00014 protected HashStats() {}
00015
00016 private int hash_magic;
00017 public int getMagic() {
00018 return hash_magic;
00019 }
00020
00021 private int hash_version;
00022 public int getVersion() {
00023 return hash_version;
00024 }
00025
00026 private int hash_metaflags;
00027 public int getMetaFlags() {
00028 return hash_metaflags;
00029 }
00030
00031 private int hash_nkeys;
00032 public int getNumKeys() {
00033 return hash_nkeys;
00034 }
00035
00036 private int hash_ndata;
00037 public int getNumData() {
00038 return hash_ndata;
00039 }
00040
00041 private int hash_pagesize;
00042 public int getPageSize() {
00043 return hash_pagesize;
00044 }
00045
00046 private int hash_ffactor;
00047 public int getFfactor() {
00048 return hash_ffactor;
00049 }
00050
00051 private int hash_buckets;
00052 public int getBuckets() {
00053 return hash_buckets;
00054 }
00055
00056 private int hash_free;
00057 public int getFree() {
00058 return hash_free;
00059 }
00060
00061 private int hash_bfree;
00062 public int getBFree() {
00063 return hash_bfree;
00064 }
00065
00066 private int hash_bigpages;
00067 public int getBigPages() {
00068 return hash_bigpages;
00069 }
00070
00071 private int hash_big_bfree;
00072 public int getBigBFree() {
00073 return hash_big_bfree;
00074 }
00075
00076 private int hash_overflows;
00077 public int getOverflows() {
00078 return hash_overflows;
00079 }
00080
00081 private int hash_ovfl_free;
00082 public int getOvflFree() {
00083 return hash_ovfl_free;
00084 }
00085
00086 private int hash_dup;
00087 public int getDup() {
00088 return hash_dup;
00089 }
00090
00091 private int hash_dup_free;
00092 public int getDupFree() {
00093 return hash_dup_free;
00094 }
00095
00096 public String toString() {
00097 return "HashStats:"
00098 + "\n hash_magic=" + hash_magic
00099 + "\n hash_version=" + hash_version
00100 + "\n hash_metaflags=" + hash_metaflags
00101 + "\n hash_nkeys=" + hash_nkeys
00102 + "\n hash_ndata=" + hash_ndata
00103 + "\n hash_pagesize=" + hash_pagesize
00104 + "\n hash_ffactor=" + hash_ffactor
00105 + "\n hash_buckets=" + hash_buckets
00106 + "\n hash_free=" + hash_free
00107 + "\n hash_bfree=" + hash_bfree
00108 + "\n hash_bigpages=" + hash_bigpages
00109 + "\n hash_big_bfree=" + hash_big_bfree
00110 + "\n hash_overflows=" + hash_overflows
00111 + "\n hash_ovfl_free=" + hash_ovfl_free
00112 + "\n hash_dup=" + hash_dup
00113 + "\n hash_dup_free=" + hash_dup_free
00114 ;
00115 }
00116 }