00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class LockStats {
00013
00014 protected LockStats() {}
00015
00016 private int st_id;
00017 public int getId() {
00018 return st_id;
00019 }
00020
00021 private int st_cur_maxid;
00022 public int getCurMaxId() {
00023 return st_cur_maxid;
00024 }
00025
00026 private int st_maxlocks;
00027 public int getMaxLocks() {
00028 return st_maxlocks;
00029 }
00030
00031 private int st_maxlockers;
00032 public int getMaxLockers() {
00033 return st_maxlockers;
00034 }
00035
00036 private int st_maxobjects;
00037 public int getMaxObjects() {
00038 return st_maxobjects;
00039 }
00040
00041 private int st_nmodes;
00042 public int getNumModes() {
00043 return st_nmodes;
00044 }
00045
00046 private int st_nlocks;
00047 public int getNumLocks() {
00048 return st_nlocks;
00049 }
00050
00051 private int st_maxnlocks;
00052 public int getMaxNlocks() {
00053 return st_maxnlocks;
00054 }
00055
00056 private int st_nlockers;
00057 public int getNumLockers() {
00058 return st_nlockers;
00059 }
00060
00061 private int st_maxnlockers;
00062 public int getMaxNlockers() {
00063 return st_maxnlockers;
00064 }
00065
00066 private int st_nobjects;
00067 public int getNobjects() {
00068 return st_nobjects;
00069 }
00070
00071 private int st_maxnobjects;
00072 public int getMaxNobjects() {
00073 return st_maxnobjects;
00074 }
00075
00076 private int st_nrequests;
00077 public int getNumRequests() {
00078 return st_nrequests;
00079 }
00080
00081 private int st_nreleases;
00082 public int getNumReleases() {
00083 return st_nreleases;
00084 }
00085
00086 private int st_nupgrade;
00087 public int getNumUpgrade() {
00088 return st_nupgrade;
00089 }
00090
00091 private int st_ndowngrade;
00092 public int getNumDowngrade() {
00093 return st_ndowngrade;
00094 }
00095
00096 private int st_lock_wait;
00097 public int getLockWait() {
00098 return st_lock_wait;
00099 }
00100
00101 private int st_lock_nowait;
00102 public int getLockNowait() {
00103 return st_lock_nowait;
00104 }
00105
00106 private int st_ndeadlocks;
00107 public int getNumDeadlocks() {
00108 return st_ndeadlocks;
00109 }
00110
00111 private int st_locktimeout;
00112 public int getLockTimeout() {
00113 return st_locktimeout;
00114 }
00115
00116 private int st_nlocktimeouts;
00117 public int getNumLockTimeouts() {
00118 return st_nlocktimeouts;
00119 }
00120
00121 private int st_txntimeout;
00122 public int getTxnTimeout() {
00123 return st_txntimeout;
00124 }
00125
00126 private int st_ntxntimeouts;
00127 public int getNumTxnTimeouts() {
00128 return st_ntxntimeouts;
00129 }
00130
00131 private int st_region_wait;
00132 public int getRegionWait() {
00133 return st_region_wait;
00134 }
00135
00136 private int st_region_nowait;
00137 public int getRegionNowait() {
00138 return st_region_nowait;
00139 }
00140
00141 private int st_regsize;
00142 public int getRegSize() {
00143 return st_regsize;
00144 }
00145
00146 public String toString() {
00147 return "LockStats:"
00148 + "\n st_id=" + st_id
00149 + "\n st_cur_maxid=" + st_cur_maxid
00150 + "\n st_maxlocks=" + st_maxlocks
00151 + "\n st_maxlockers=" + st_maxlockers
00152 + "\n st_maxobjects=" + st_maxobjects
00153 + "\n st_nmodes=" + st_nmodes
00154 + "\n st_nlocks=" + st_nlocks
00155 + "\n st_maxnlocks=" + st_maxnlocks
00156 + "\n st_nlockers=" + st_nlockers
00157 + "\n st_maxnlockers=" + st_maxnlockers
00158 + "\n st_nobjects=" + st_nobjects
00159 + "\n st_maxnobjects=" + st_maxnobjects
00160 + "\n st_nrequests=" + st_nrequests
00161 + "\n st_nreleases=" + st_nreleases
00162 + "\n st_nupgrade=" + st_nupgrade
00163 + "\n st_ndowngrade=" + st_ndowngrade
00164 + "\n st_lock_wait=" + st_lock_wait
00165 + "\n st_lock_nowait=" + st_lock_nowait
00166 + "\n st_ndeadlocks=" + st_ndeadlocks
00167 + "\n st_locktimeout=" + st_locktimeout
00168 + "\n st_nlocktimeouts=" + st_nlocktimeouts
00169 + "\n st_txntimeout=" + st_txntimeout
00170 + "\n st_ntxntimeouts=" + st_ntxntimeouts
00171 + "\n st_region_wait=" + st_region_wait
00172 + "\n st_region_nowait=" + st_region_nowait
00173 + "\n st_regsize=" + st_regsize
00174 ;
00175 }
00176 }