1 22 package org.jboss.resource.statistic.pool; 23 24 import java.util.Collection ; 25 26 import org.jboss.resource.statistic.JBossStatistics; 27 28 34 public interface ManagedConnectionPoolStatistics extends JBossStatistics 35 { 36 37 42 public String getName(); 43 44 49 public void setName(String name); 50 51 56 public int getSubPoolCount(); 57 58 63 public int getTotalMaxConnectionsInUseCount(); 64 65 70 public int getTotalConnectionsInUseCount(); 71 72 73 78 public int getMin(); 79 80 public void setMin(int min); 81 public int getMax(); 82 public void setMax(int max); 83 public long getBlockingTimeout(); 84 public void setBlockingTimeout(long blockTime); 85 public long getIdleTimeout(); 86 public void setIdleTimeout(long idleTimeout); 87 public String getCriteria(); 88 public void setCriteria(String criteria); 89 public boolean getTrackByTxn(); 90 public void setTrackByTxn(boolean trackByTxn); 91 public boolean getNoTxnSeperatePool(); 92 public void setNoTxnSeperatePool(boolean noTxnSeperatePool); 93 public void setPrefill(boolean prefill); 94 public boolean getPrefill(); 95 public JBossManagedConnectionPoolStatistics getStatistics(); 96 public void addSubPool(JBossStatistics subPool); 97 public Collection getSubPools(); 98 99 } 100 | Popular Tags |