00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 import com.sleepycat.db.internal.DbUtil;
00013
00014 public class CompactStats
00015 {
00016
00017 protected CompactStats() {}
00018
00019
00020 CompactStats(int fillpercent, int timeout, int pages) {
00021 this.compact_fillpercent = fillpercent;
00022 this.compact_timeout = timeout;
00023 this.compact_pages = pages;
00024 }
00025
00026 private int compact_fillpercent;
00027 public int getFillPercent() {
00028 return compact_fillpercent;
00029 }
00030
00031 private int compact_timeout;
00032 public int getTimeout() {
00033 return compact_timeout;
00034 }
00035
00036 private int compact_pages;
00037 public int getPages() {
00038 return compact_pages;
00039 }
00040
00041 private int compact_pages_free;
00042 public int getPagesFree() {
00043 return compact_pages_free;
00044 }
00045
00046 private int compact_pages_examine;
00047 public int getPagesExamine() {
00048 return compact_pages_examine;
00049 }
00050
00051 private int compact_levels;
00052 public int getLevels() {
00053 return compact_levels;
00054 }
00055
00056 private int compact_deadlock;
00057 public int getDeadlock() {
00058 return compact_deadlock;
00059 }
00060
00061 private int compact_pages_truncated;
00062 public int getPagesTruncated() {
00063 return compact_pages_truncated;
00064 }
00065
00066 private int compact_truncate;
00067 public int getTruncate() {
00068 return compact_truncate;
00069 }
00070
00071 public String toString() {
00072 return "CompactStats:"
00073 + "\n compact_fillpercent=" + compact_fillpercent
00074 + "\n compact_timeout=" + compact_timeout
00075 + "\n compact_pages=" + compact_pages
00076 + "\n compact_pages_free=" + compact_pages_free
00077 + "\n compact_pages_examine=" + compact_pages_examine
00078 + "\n compact_levels=" + compact_levels
00079 + "\n compact_deadlock=" + compact_deadlock
00080 + "\n compact_pages_truncated=" + compact_pages_truncated
00081 + "\n compact_truncate=" + compact_truncate
00082 ;
00083 }
00084 }
00085