00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class CacheStats {
00013
00014 protected CacheStats() {}
00015
00016 private int st_gbytes;
00017 public int getGbytes() {
00018 return st_gbytes;
00019 }
00020
00021 private int st_bytes;
00022 public int getBytes() {
00023 return st_bytes;
00024 }
00025
00026 private int st_ncache;
00027 public int getNumCache() {
00028 return st_ncache;
00029 }
00030
00031 private int st_regsize;
00032 public int getRegSize() {
00033 return st_regsize;
00034 }
00035
00036 private int st_mmapsize;
00037 public int getMmapSize() {
00038 return st_mmapsize;
00039 }
00040
00041 private int st_maxopenfd;
00042 public int getMaxOpenfd() {
00043 return st_maxopenfd;
00044 }
00045
00046 private int st_maxwrite;
00047 public int getMaxWrite() {
00048 return st_maxwrite;
00049 }
00050
00051 private int st_maxwrite_sleep;
00052 public int getMaxWriteSleep() {
00053 return st_maxwrite_sleep;
00054 }
00055
00056 private int st_map;
00057 public int getMap() {
00058 return st_map;
00059 }
00060
00061 private int st_cache_hit;
00062 public int getCacheHit() {
00063 return st_cache_hit;
00064 }
00065
00066 private int st_cache_miss;
00067 public int getCacheMiss() {
00068 return st_cache_miss;
00069 }
00070
00071 private int st_page_create;
00072 public int getPageCreate() {
00073 return st_page_create;
00074 }
00075
00076 private int st_page_in;
00077 public int getPageIn() {
00078 return st_page_in;
00079 }
00080
00081 private int st_page_out;
00082 public int getPageOut() {
00083 return st_page_out;
00084 }
00085
00086 private int st_ro_evict;
00087 public int getRoEvict() {
00088 return st_ro_evict;
00089 }
00090
00091 private int st_rw_evict;
00092 public int getRwEvict() {
00093 return st_rw_evict;
00094 }
00095
00096 private int st_page_trickle;
00097 public int getPageTrickle() {
00098 return st_page_trickle;
00099 }
00100
00101 private int st_pages;
00102 public int getPages() {
00103 return st_pages;
00104 }
00105
00106 private int st_page_clean;
00107 public int getPageClean() {
00108 return st_page_clean;
00109 }
00110
00111 private int st_page_dirty;
00112 public int getPageDirty() {
00113 return st_page_dirty;
00114 }
00115
00116 private int st_hash_buckets;
00117 public int getHashBuckets() {
00118 return st_hash_buckets;
00119 }
00120
00121 private int st_hash_searches;
00122 public int getHashSearches() {
00123 return st_hash_searches;
00124 }
00125
00126 private int st_hash_longest;
00127 public int getHashLongest() {
00128 return st_hash_longest;
00129 }
00130
00131 private int st_hash_examined;
00132 public int getHashExamined() {
00133 return st_hash_examined;
00134 }
00135
00136 private int st_hash_nowait;
00137 public int getHashNowait() {
00138 return st_hash_nowait;
00139 }
00140
00141 private int st_hash_wait;
00142 public int getHashWait() {
00143 return st_hash_wait;
00144 }
00145
00146 private int st_hash_max_wait;
00147 public int getHashMaxWait() {
00148 return st_hash_max_wait;
00149 }
00150
00151 private int st_region_nowait;
00152 public int getRegionNowait() {
00153 return st_region_nowait;
00154 }
00155
00156 private int st_region_wait;
00157 public int getRegionWait() {
00158 return st_region_wait;
00159 }
00160
00161 private int st_alloc;
00162 public int getAlloc() {
00163 return st_alloc;
00164 }
00165
00166 private int st_alloc_buckets;
00167 public int getAllocBuckets() {
00168 return st_alloc_buckets;
00169 }
00170
00171 private int st_alloc_max_buckets;
00172 public int getAllocMaxBuckets() {
00173 return st_alloc_max_buckets;
00174 }
00175
00176 private int st_alloc_pages;
00177 public int getAllocPages() {
00178 return st_alloc_pages;
00179 }
00180
00181 private int st_alloc_max_pages;
00182 public int getAllocMaxPages() {
00183 return st_alloc_max_pages;
00184 }
00185
00186 public String toString() {
00187 return "CacheStats:"
00188 + "\n st_gbytes=" + st_gbytes
00189 + "\n st_bytes=" + st_bytes
00190 + "\n st_ncache=" + st_ncache
00191 + "\n st_regsize=" + st_regsize
00192 + "\n st_mmapsize=" + st_mmapsize
00193 + "\n st_maxopenfd=" + st_maxopenfd
00194 + "\n st_maxwrite=" + st_maxwrite
00195 + "\n st_maxwrite_sleep=" + st_maxwrite_sleep
00196 + "\n st_map=" + st_map
00197 + "\n st_cache_hit=" + st_cache_hit
00198 + "\n st_cache_miss=" + st_cache_miss
00199 + "\n st_page_create=" + st_page_create
00200 + "\n st_page_in=" + st_page_in
00201 + "\n st_page_out=" + st_page_out
00202 + "\n st_ro_evict=" + st_ro_evict
00203 + "\n st_rw_evict=" + st_rw_evict
00204 + "\n st_page_trickle=" + st_page_trickle
00205 + "\n st_pages=" + st_pages
00206 + "\n st_page_clean=" + st_page_clean
00207 + "\n st_page_dirty=" + st_page_dirty
00208 + "\n st_hash_buckets=" + st_hash_buckets
00209 + "\n st_hash_searches=" + st_hash_searches
00210 + "\n st_hash_longest=" + st_hash_longest
00211 + "\n st_hash_examined=" + st_hash_examined
00212 + "\n st_hash_nowait=" + st_hash_nowait
00213 + "\n st_hash_wait=" + st_hash_wait
00214 + "\n st_hash_max_wait=" + st_hash_max_wait
00215 + "\n st_region_nowait=" + st_region_nowait
00216 + "\n st_region_wait=" + st_region_wait
00217 + "\n st_alloc=" + st_alloc
00218 + "\n st_alloc_buckets=" + st_alloc_buckets
00219 + "\n st_alloc_max_buckets=" + st_alloc_max_buckets
00220 + "\n st_alloc_pages=" + st_alloc_pages
00221 + "\n st_alloc_max_pages=" + st_alloc_max_pages
00222 ;
00223 }
00224 }