00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class MutexStats {
00013
00014 protected MutexStats() {}
00015
00016 private int st_mutex_align;
00017 public int getMutexAlign() {
00018 return st_mutex_align;
00019 }
00020
00021 private int st_mutex_tas_spins;
00022 public int getMutexTasSpins() {
00023 return st_mutex_tas_spins;
00024 }
00025
00026 private int st_mutex_cnt;
00027 public int getMutexCount() {
00028 return st_mutex_cnt;
00029 }
00030
00031 private int st_mutex_free;
00032 public int getMutexFree() {
00033 return st_mutex_free;
00034 }
00035
00036 private int st_mutex_inuse;
00037 public int getMutexInuse() {
00038 return st_mutex_inuse;
00039 }
00040
00041 private int st_mutex_inuse_max;
00042 public int getMutexInuseMax() {
00043 return st_mutex_inuse_max;
00044 }
00045
00046 private int st_region_wait;
00047 public int getRegionWait() {
00048 return st_region_wait;
00049 }
00050
00051 private int st_region_nowait;
00052 public int getRegionNowait() {
00053 return st_region_nowait;
00054 }
00055
00056 private int st_regsize;
00057 public int getRegSize() {
00058 return st_regsize;
00059 }
00060
00061 public String toString() {
00062 return "MutexStats:"
00063 + "\n st_mutex_align=" + st_mutex_align
00064 + "\n st_mutex_tas_spins=" + st_mutex_tas_spins
00065 + "\n st_mutex_cnt=" + st_mutex_cnt
00066 + "\n st_mutex_free=" + st_mutex_free
00067 + "\n st_mutex_inuse=" + st_mutex_inuse
00068 + "\n st_mutex_inuse_max=" + st_mutex_inuse_max
00069 + "\n st_region_wait=" + st_region_wait
00070 + "\n st_region_nowait=" + st_region_nowait
00071 + "\n st_regsize=" + st_regsize
00072 ;
00073 }
00074 }