• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/java/src/com/sleepycat/db/
1/*-
2 * Automatically built by dist/s_java_stat.
3 * Only the javadoc comments can be edited.
4 *
5 * See the file LICENSE for redistribution information.
6 *
7 * Copyright (c) 2002-2009 Oracle.  All rights reserved.
8 */
9
10package com.sleepycat.db;
11
12/**
13Cache statistics for a database environment.
14*/
15public class CacheStats {
16    // no public constructor
17    /* package */ CacheStats() {}
18
19    private int st_gbytes;
20    /** TODO */
21    public int getGbytes() {
22        return st_gbytes;
23    }
24
25    private int st_bytes;
26    /** TODO */
27    public int getBytes() {
28        return st_bytes;
29    }
30
31    private int st_ncache;
32    /** TODO */
33    public int getNumCache() {
34        return st_ncache;
35    }
36
37    private int st_max_ncache;
38    /** TODO */
39    public int getMaxNumCache() {
40        return st_max_ncache;
41    }
42
43    private int st_mmapsize;
44    /** TODO */
45    public int getMmapSize() {
46        return st_mmapsize;
47    }
48
49    private int st_maxopenfd;
50    /** TODO */
51    public int getMaxOpenfd() {
52        return st_maxopenfd;
53    }
54
55    private int st_maxwrite;
56    /** TODO */
57    public int getMaxWrite() {
58        return st_maxwrite;
59    }
60
61    private int st_maxwrite_sleep;
62    /** TODO */
63    public int getMaxWriteSleep() {
64        return st_maxwrite_sleep;
65    }
66
67    private int st_pages;
68    /** TODO */
69    public int getPages() {
70        return st_pages;
71    }
72
73    private int st_map;
74    /** TODO */
75    public int getMap() {
76        return st_map;
77    }
78
79    private long st_cache_hit;
80    /** TODO */
81    public long getCacheHit() {
82        return st_cache_hit;
83    }
84
85    private long st_cache_miss;
86    /** TODO */
87    public long getCacheMiss() {
88        return st_cache_miss;
89    }
90
91    private long st_page_create;
92    /** TODO */
93    public long getPageCreate() {
94        return st_page_create;
95    }
96
97    private long st_page_in;
98    /** TODO */
99    public long getPageIn() {
100        return st_page_in;
101    }
102
103    private long st_page_out;
104    /** TODO */
105    public long getPageOut() {
106        return st_page_out;
107    }
108
109    private long st_ro_evict;
110    /** TODO */
111    public long getRoEvict() {
112        return st_ro_evict;
113    }
114
115    private long st_rw_evict;
116    /** TODO */
117    public long getRwEvict() {
118        return st_rw_evict;
119    }
120
121    private long st_page_trickle;
122    /** TODO */
123    public long getPageTrickle() {
124        return st_page_trickle;
125    }
126
127    private int st_page_clean;
128    /** TODO */
129    public int getPageClean() {
130        return st_page_clean;
131    }
132
133    private int st_page_dirty;
134    /** TODO */
135    public int getPageDirty() {
136        return st_page_dirty;
137    }
138
139    private int st_hash_buckets;
140    /** TODO */
141    public int getHashBuckets() {
142        return st_hash_buckets;
143    }
144
145    private int st_pagesize;
146    /** TODO */
147    public int getPageSize() {
148        return st_pagesize;
149    }
150
151    private int st_hash_searches;
152    /** TODO */
153    public int getHashSearches() {
154        return st_hash_searches;
155    }
156
157    private int st_hash_longest;
158    /** TODO */
159    public int getHashLongest() {
160        return st_hash_longest;
161    }
162
163    private long st_hash_examined;
164    /** TODO */
165    public long getHashExamined() {
166        return st_hash_examined;
167    }
168
169    private long st_hash_nowait;
170    /** TODO */
171    public long getHashNowait() {
172        return st_hash_nowait;
173    }
174
175    private long st_hash_wait;
176    /** TODO */
177    public long getHashWait() {
178        return st_hash_wait;
179    }
180
181    private long st_hash_max_nowait;
182    /** TODO */
183    public long getHashMaxNowait() {
184        return st_hash_max_nowait;
185    }
186
187    private long st_hash_max_wait;
188    /** TODO */
189    public long getHashMaxWait() {
190        return st_hash_max_wait;
191    }
192
193    private long st_region_nowait;
194    /** TODO */
195    public long getRegionNowait() {
196        return st_region_nowait;
197    }
198
199    private long st_region_wait;
200    /** TODO */
201    public long getRegionWait() {
202        return st_region_wait;
203    }
204
205    private long st_mvcc_frozen;
206    /** TODO */
207    public long getMultiversionFrozen() {
208        return st_mvcc_frozen;
209    }
210
211    private long st_mvcc_thawed;
212    /** TODO */
213    public long getMultiversionThawed() {
214        return st_mvcc_thawed;
215    }
216
217    private long st_mvcc_freed;
218    /** TODO */
219    public long getMultiversionFreed() {
220        return st_mvcc_freed;
221    }
222
223    private long st_alloc;
224    /** TODO */
225    public long getAlloc() {
226        return st_alloc;
227    }
228
229    private long st_alloc_buckets;
230    /** TODO */
231    public long getAllocBuckets() {
232        return st_alloc_buckets;
233    }
234
235    private long st_alloc_max_buckets;
236    /** TODO */
237    public long getAllocMaxBuckets() {
238        return st_alloc_max_buckets;
239    }
240
241    private long st_alloc_pages;
242    /** TODO */
243    public long getAllocPages() {
244        return st_alloc_pages;
245    }
246
247    private long st_alloc_max_pages;
248    /** TODO */
249    public long getAllocMaxPages() {
250        return st_alloc_max_pages;
251    }
252
253    private long st_io_wait;
254    /** TODO */
255    public long getIoWait() {
256        return st_io_wait;
257    }
258
259    private long st_sync_interrupted;
260    /** TODO */
261    public long getSyncInterrupted() {
262        return st_sync_interrupted;
263    }
264
265    private int st_regsize;
266    /** TODO */
267    public int getRegSize() {
268        return st_regsize;
269    }
270
271    /**
272    For convenience, the CacheStats class has a toString method that
273    lists all the data fields.
274    */
275    public String toString() {
276        return "CacheStats:"
277            + "\n  st_gbytes=" + st_gbytes
278            + "\n  st_bytes=" + st_bytes
279            + "\n  st_ncache=" + st_ncache
280            + "\n  st_max_ncache=" + st_max_ncache
281            + "\n  st_mmapsize=" + st_mmapsize
282            + "\n  st_maxopenfd=" + st_maxopenfd
283            + "\n  st_maxwrite=" + st_maxwrite
284            + "\n  st_maxwrite_sleep=" + st_maxwrite_sleep
285            + "\n  st_pages=" + st_pages
286            + "\n  st_map=" + st_map
287            + "\n  st_cache_hit=" + st_cache_hit
288            + "\n  st_cache_miss=" + st_cache_miss
289            + "\n  st_page_create=" + st_page_create
290            + "\n  st_page_in=" + st_page_in
291            + "\n  st_page_out=" + st_page_out
292            + "\n  st_ro_evict=" + st_ro_evict
293            + "\n  st_rw_evict=" + st_rw_evict
294            + "\n  st_page_trickle=" + st_page_trickle
295            + "\n  st_page_clean=" + st_page_clean
296            + "\n  st_page_dirty=" + st_page_dirty
297            + "\n  st_hash_buckets=" + st_hash_buckets
298            + "\n  st_pagesize=" + st_pagesize
299            + "\n  st_hash_searches=" + st_hash_searches
300            + "\n  st_hash_longest=" + st_hash_longest
301            + "\n  st_hash_examined=" + st_hash_examined
302            + "\n  st_hash_nowait=" + st_hash_nowait
303            + "\n  st_hash_wait=" + st_hash_wait
304            + "\n  st_hash_max_nowait=" + st_hash_max_nowait
305            + "\n  st_hash_max_wait=" + st_hash_max_wait
306            + "\n  st_region_nowait=" + st_region_nowait
307            + "\n  st_region_wait=" + st_region_wait
308            + "\n  st_mvcc_frozen=" + st_mvcc_frozen
309            + "\n  st_mvcc_thawed=" + st_mvcc_thawed
310            + "\n  st_mvcc_freed=" + st_mvcc_freed
311            + "\n  st_alloc=" + st_alloc
312            + "\n  st_alloc_buckets=" + st_alloc_buckets
313            + "\n  st_alloc_max_buckets=" + st_alloc_max_buckets
314            + "\n  st_alloc_pages=" + st_alloc_pages
315            + "\n  st_alloc_max_pages=" + st_alloc_max_pages
316            + "\n  st_io_wait=" + st_io_wait
317            + "\n  st_sync_interrupted=" + st_sync_interrupted
318            + "\n  st_regsize=" + st_regsize
319            ;
320    }
321}
322