1 package uk.org.primrose.pool.jmx; 2 3 public class AllPoolsOverviewData { 4 private String poolName; 5 private String activeConnections; 6 7 public AllPoolsOverviewData(String poolName, String activeConnections) { 8 this.poolName = poolName; 9 this.activeConnections = activeConnections; 10 } 11 12 public void setData(String poolName, String activeConnections) { 13 this.poolName = poolName; 14 this.activeConnections = activeConnections; 15 } 16 17 public String getPoolName() { 18 return poolName; 19 } 20 21 public String getActiveConnections() { 22 return activeConnections; 23 } 24 25 public String toString() { 26 return poolName +" : " +activeConnections; 27 } 28 } | Popular Tags |