00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class CacheFileStats {
00013
00014 protected CacheFileStats() {}
00015
00016 private String file_name;
00017 public String getFileName() {
00018 return file_name;
00019 }
00020
00021 private int st_pagesize;
00022 public int getPageSize() {
00023 return st_pagesize;
00024 }
00025
00026 private int st_map;
00027 public int getMap() {
00028 return st_map;
00029 }
00030
00031 private int st_cache_hit;
00032 public int getCacheHit() {
00033 return st_cache_hit;
00034 }
00035
00036 private int st_cache_miss;
00037 public int getCacheMiss() {
00038 return st_cache_miss;
00039 }
00040
00041 private int st_page_create;
00042 public int getPageCreate() {
00043 return st_page_create;
00044 }
00045
00046 private int st_page_in;
00047 public int getPageIn() {
00048 return st_page_in;
00049 }
00050
00051 private int st_page_out;
00052 public int getPageOut() {
00053 return st_page_out;
00054 }
00055
00056 public String toString() {
00057 return "CacheFileStats:"
00058 + "\n file_name=" + file_name
00059 + "\n st_pagesize=" + st_pagesize
00060 + "\n st_map=" + st_map
00061 + "\n st_cache_hit=" + st_cache_hit
00062 + "\n st_cache_miss=" + st_cache_miss
00063 + "\n st_page_create=" + st_page_create
00064 + "\n st_page_in=" + st_page_in
00065 + "\n st_page_out=" + st_page_out
00066 ;
00067 }
00068 }