Save This Page
Home » JBoss-5.1.0 » org » jboss » resource » connectionmanager » [javadoc | source]
org.jboss.resource.connectionmanager
public class: JBossManagedConnectionPool [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.resource.connectionmanager.JBossManagedConnectionPool

All Implemented Interfaces:
    JBossManagedConnectionPoolMBean, NotificationListener, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

The JBossManagedConnectionPool mbean configures and supplies pooling of JBossConnectionEventListeners to the BaseConnectionManager2 mbean.

It may be replaced by any mbean with a readable ManagedConnectionPool attribute of type ManagedConnectionPool. Normal pooling parameters are supplied, and the criteria to distinguish ManagedConnections is set in the Criteria attribute.

Nested Class Summary:
public static class  JBossManagedConnectionPool.SubPoolContext   
abstract public static class  JBossManagedConnectionPool.BasePool  The base pool implementation 
public static class  JBossManagedConnectionPool.PoolBySubjectAndCri  Pooling by subject and connection request information 
public static class  JBossManagedConnectionPool.PoolBySubject  Pool by subject 
public static class  JBossManagedConnectionPool.PoolByCri  Pool by connection request information 
public static class  JBossManagedConnectionPool.OnePool  One pool 
Field Summary
static  Logger log     
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public JBossManagedConnectionPool() 
Method from org.jboss.resource.connectionmanager.JBossManagedConnectionPool Summary:
flush,   getAvailableConnectionCount,   getBackGroundValidationMillis,   getBlockingTimeoutMillis,   getConnectionCount,   getConnectionCreatedCount,   getConnectionDestroyedCount,   getCriteria,   getIdleTimeout,   getIdleTimeoutMinutes,   getInUseConnectionCount,   getManagedConnectionFactoryName,   getManagedConnectionPool,   getMaxConnectionsInUseCount,   getMaxSize,   getMinSize,   getName,   getNoTxSeparatePools,   getPoolJndiName,   getPoolingStrategy,   getPreFill,   getStatisticsFormatter,   getStrictMin,   getUseFastFail,   handleNotification,   listFormattedSubPoolStatistics,   listFormattedSubPoolStatistics,   listStatistics,   listUnderlyingNativeConnectionStatistics,   setBackGroundValidationMillis,   setBlockingTimeoutMillis,   setCriteria,   setIdleTimeout,   setIdleTimeoutMinutes,   setManagedConnectionFactoryName,   setMaxSize,   setMinSize,   setNoTxSeparatePools,   setPoolJndiName,   setPreFill,   setStatisticsFormatter,   setStrictMin,   setUseFastFail,   startService,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.connectionmanager.JBossManagedConnectionPool Detail:
 public  void flush() 
 public long getAvailableConnectionCount() 
 public long getBackGroundValidationMillis() 
 public int getBlockingTimeoutMillis() 
 public int getConnectionCount() 
 public int getConnectionCreatedCount() 
 public int getConnectionDestroyedCount() 
 public String getCriteria() 
 public long getIdleTimeout() 
    Get the IdleTimeout value.
 public long getIdleTimeoutMinutes() 
 public long getInUseConnectionCount() 
 public ObjectName getManagedConnectionFactoryName() 
 public ManagedConnectionPool getManagedConnectionPool() 
 public long getMaxConnectionsInUseCount() 
 public int getMaxSize() 
 public int getMinSize() 
 public String getName() 
 public boolean getNoTxSeparatePools() 
 public String getPoolJndiName() 
    The connection factory jndi name. This is used to tie the pool ManagedObject back to the ManagedConnectionFactoryDeploymentMetaData
 ManagedConnectionPool getPoolingStrategy() 
 public boolean getPreFill() 
 public String getStatisticsFormatter() 
 public boolean getStrictMin() 
 public boolean getUseFastFail() 
 public  void handleNotification(Notification notification,
    Object handback) 
 public Object listFormattedSubPoolStatistics() 
 public Object listFormattedSubPoolStatistics(String formatClassName) 
 public Object listStatistics() 
 public Object listUnderlyingNativeConnectionStatistics() 
 public  void setBackGroundValidationMillis(long backgroundValidationInterval) 
 public  void setBlockingTimeoutMillis(int newBlockingTimeout) 
 public  void setCriteria(String newCriteria) 
 public  void setIdleTimeout(long newIdleTimeout) 
    Set the IdleTimeout value.
 public  void setIdleTimeoutMinutes(long newIdleTimeoutMinutes) 
 public  void setManagedConnectionFactoryName(ObjectName newManagedConnectionFactoryName) 
 public  void setMaxSize(int newMaxSize) 
 public  void setMinSize(int newMinSize) 
 public  void setNoTxSeparatePools(boolean value) 
 public  void setPoolJndiName(String poolName) 
 public  void setPreFill(boolean prefill) 
 public  void setStatisticsFormatter(String statisticsFormatter) 
 public  void setStrictMin(boolean strictMin) 
 public  void setUseFastFail(boolean useFastFail) 
 protected  void startService() throws Exception 
 protected  void stopService() throws Exception