1 22 package org.jboss.resource.connectionmanager; 23 24 31 public interface JBossManagedConnectionPoolMBean extends org.jboss.system.ServiceMBean { 32 33 public static final javax.management.ObjectName OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory.create("jboss.jca:service=JBossManagedConnectionPool"); 35 36 40 org.jboss.resource.connectionmanager.ManagedConnectionPool getManagedConnectionPool() ; 41 42 46 javax.management.ObjectName getManagedConnectionFactoryName() ; 47 48 52 void setManagedConnectionFactoryName(javax.management.ObjectName newManagedConnectionFactoryName) ; 53 54 58 long getAvailableConnectionCount() ; 59 60 65 long getMaxConnectionsInUseCount(); 66 67 71 long getInUseConnectionCount() ; 72 73 77 int getMinSize() ; 78 79 83 void setMinSize(int newMinSize) ; 84 85 89 int getMaxSize() ; 90 91 95 void setMaxSize(int newMaxSize) ; 96 97 101 int getBlockingTimeoutMillis() ; 102 103 107 void setBlockingTimeoutMillis(int newBlockingTimeout) ; 108 109 113 long getIdleTimeoutMinutes() ; 114 115 119 void setIdleTimeoutMinutes(long newIdleTimeoutMinutes) ; 120 121 125 java.lang.String getCriteria() ; 126 127 131 void setCriteria(java.lang.String newCriteria) ; 132 133 137 boolean getNoTxSeparatePools() ; 138 139 void setNoTxSeparatePools(boolean value) ; 140 141 146 void setPreFill(boolean prefill); 147 148 153 boolean getPreFill(); 154 155 boolean getStrictMin(); 156 157 void setStrictMin(boolean strictMin); 158 159 162 void flush() ; 163 164 168 int getConnectionCount() ; 169 170 174 int getConnectionCreatedCount() ; 175 176 180 int getConnectionDestroyedCount() ; 181 182 187 Object listStatistics(); 188 189 194 Object listFormattedSubPoolStatistics(); 195 196 203 Object listFormatttedSubPoolStatistics(String formatter); 204 205 210 public String getStatisticsFormatter(); 211 212 218 public void setStatisticsFormatter(String formatter); 219 220 225 public boolean getBackGroundValidation(); 226 227 228 233 public void setBackGroundValidation(boolean backgroundValidation); 234 235 240 public void setBackGroundValidationMinutes(long backgroundValidationInterval); 241 242 247 public long getBackGroundValidationMinutes(); 248 249 250 255 public String getPoolJndiName(); 256 257 262 public void setPoolJndiName(String poolName); 263 264 } 265 | Popular Tags |