1 24 25 package org.objectweb.cjdbc.common.monitor.backend; 26 27 import java.io.Serializable ; 28 29 34 public class BackendStatistics implements Serializable 35 { 36 37 40 private String backendName; 41 42 45 private String driverClassName; 46 49 private String url; 50 53 private boolean readEnabled; 54 57 private boolean writeEnabled; 58 61 private String initializationStatus; 62 65 private boolean schemaStatic; 66 69 private long numberOfTotalActiveConnections; 70 73 private String lastKnownCheckpoint; 74 77 private int numberOfActiveTransactions; 78 81 private int numberOfPendingRequests; 82 85 private int numberOfConnectionManagers; 86 89 private int numberOfTotalRequests; 90 93 private int numberOfTotalTransactions; 94 95 public String getBackendName() 96 { 97 return backendName; 98 } 99 100 public void setBackendName(String backendName) 101 { 102 this.backendName = backendName; 103 } 104 105 public String getDriverClassName() 106 { 107 return driverClassName; 108 } 109 110 public void setDriverClassName(String driverClassName) 111 { 112 this.driverClassName = driverClassName; 113 } 114 115 public String getInitializationStatus() 116 { 117 return initializationStatus; 118 } 119 120 public void setInitializationStatus(String initializationStatus) 121 { 122 this.initializationStatus = initializationStatus; 123 } 124 125 public String getLastKnownCheckpoint() 126 { 127 return lastKnownCheckpoint; 128 } 129 130 public void setLastKnownCheckpoint(String lastKnownCheckpoint) 131 { 132 this.lastKnownCheckpoint = lastKnownCheckpoint; 133 } 134 135 public int getNumberOfActiveTransactions() 136 { 137 return numberOfActiveTransactions; 138 } 139 140 public void setNumberOfActiveTransactions(int numberOfActiveTransactions) 141 { 142 this.numberOfActiveTransactions = numberOfActiveTransactions; 143 } 144 145 public int getNumberOfConnectionManagers() 146 { 147 return numberOfConnectionManagers; 148 } 149 150 public void setNumberOfConnectionManagers(int numberOfConnectionManagers) 151 { 152 this.numberOfConnectionManagers = numberOfConnectionManagers; 153 } 154 155 public int getNumberOfPendingRequests() 156 { 157 return numberOfPendingRequests; 158 } 159 160 public void setNumberOfPendingRequests(int numberOfPendingRequests) 161 { 162 this.numberOfPendingRequests = numberOfPendingRequests; 163 } 164 165 public long getNumberOfTotalActiveConnections() 166 { 167 return numberOfTotalActiveConnections; 168 } 169 170 public void setNumberOfTotalActiveConnections( 171 long numberOfTotalActiveConnections) 172 { 173 this.numberOfTotalActiveConnections = numberOfTotalActiveConnections; 174 } 175 176 public int getNumberOfTotalRequests() 177 { 178 return numberOfTotalRequests; 179 } 180 181 public void setNumberOfTotalRequests(int numberOfTotalRequests) 182 { 183 this.numberOfTotalRequests = numberOfTotalRequests; 184 } 185 186 public int getNumberOfTotalTransactions() 187 { 188 return numberOfTotalTransactions; 189 } 190 191 public void setNumberOfTotalTransactions(int numberOfTotalTransactions) 192 { 193 this.numberOfTotalTransactions = numberOfTotalTransactions; 194 } 195 196 public boolean isReadEnabled() 197 { 198 return readEnabled; 199 } 200 201 public void setReadEnabled(boolean readEnabled) 202 { 203 this.readEnabled = readEnabled; 204 } 205 206 public boolean isSchemaStatic() 207 { 208 return schemaStatic; 209 } 210 211 public void setSchemaStatic(boolean schemaStatic) 212 { 213 this.schemaStatic = schemaStatic; 214 } 215 216 public String getUrl() 217 { 218 return url; 219 } 220 221 public void setUrl(String url) 222 { 223 this.url = url; 224 } 225 226 public boolean isWriteEnabled() 227 { 228 return writeEnabled; 229 } 230 231 public void setWriteEnabled(boolean writeEnabled) 232 { 233 this.writeEnabled = writeEnabled; 234 } 235 236 } 237 | Popular Tags |