public interface DataSourcePoolMetadata
DataSource implementations.| Modifier and Type | Method and Description | 
|---|---|
| Integer | getActive()Return the current number of active connections that have been allocated from the
 data source or  nullif that information is not available. | 
| Boolean | getDefaultAutoCommit()The default auto-commit state of connections created by this pool. | 
| Integer | getMax()Return the maximum number of active connections that can be allocated at the same
 time or  -1if there is no limit. | 
| Integer | getMin()Return the minimum number of idle connections in the pool or  nullif that
 information is not available. | 
| Float | getUsage()Return the usage of the pool as value between 0 and 1 (or -1 if the pool is not
 limited). | 
| String | getValidationQuery()Return the query to use to validate that a connection is valid or  nullif
 that information is not available. | 
Float getUsage()
null if the data source does not provide the necessary
 information to compute the poll usage.nullInteger getActive()
null if that information is not available.nullInteger getMax()
-1 if there is no limit. Can also return null if that
 information is not available.nullInteger getMin()
null if that
 information is not available.nullString getValidationQuery()
null if
 that information is not available.nullBoolean getDefaultAutoCommit()
null), default is JDBC driver default (If set to null then the
 java.sql.Connection.setAutoCommit(boolean) method will not be called.)nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.