public interface ConnectionPoolProperties
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BORROW_CONNECTION_TIMEOUT |
static int |
DEFAULT_ISOLATION_LEVEL_UNSET |
static int |
DEFAULT_MAINTENANCE_INTERVAL |
static int |
DEFAULT_MAX_IDLE_TIME |
static int |
DEFAULT_MAX_LIFETIME |
static int |
DEFAULT_POOL_SIZE |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorrowConnectionTimeout()
Gets the borrow connection timeout.
|
long |
getConnectionValidationInterval() |
int |
getDefaultIsolationLevel()
Gets the default isolation level preference.
|
default boolean |
getIgnoreJtaTransactions()
Tests whether jta transactions are ignored or not.
|
boolean |
getLocalTransactionMode()
Tests whether local transactions are to be allowed or not.
|
int |
getMaintenanceInterval()
Gets the maintenance interval of the pool's maintenance thread.
|
int |
getMaxIdleTime()
Gets the max time in seconds a connection can stay idle before being closed.
|
int |
getMaxLifetime()
Gets the max time in seconds that a connection may be kept alive.
|
int |
getMaxPoolSize()
Gets the maximum pool size.
|
int |
getMinPoolSize()
Gets the minimum pool size.
|
boolean |
getSupportsTmJoin()
Does the underlying resource support XA TMJOIN or not?
|
String |
getTestQuery()
Gets the query used to test connections.
|
String |
getUniqueResourceName()
Gets the unique resource name.
|
boolean |
getUseDriverBasedConnectionValidation()
Is the driver's built-in connection validation desired?
|
static final int DEFAULT_ISOLATION_LEVEL_UNSET
static final int DEFAULT_POOL_SIZE
static final int DEFAULT_BORROW_CONNECTION_TIMEOUT
static final int DEFAULT_MAX_IDLE_TIME
static final int DEFAULT_MAINTENANCE_INTERVAL
static final int DEFAULT_MAX_LIFETIME
String getUniqueResourceName()
int getMaxPoolSize()
int getMinPoolSize()
int getBorrowConnectionTimeout()
int getMaxIdleTime()
int getMaxLifetime()
int getMaintenanceInterval()
String getTestQuery()
boolean getLocalTransactionMode()
default boolean getIgnoreJtaTransactions()
int getDefaultIsolationLevel()
boolean getSupportsTmJoin()
boolean getUseDriverBasedConnectionValidation()
long getConnectionValidationInterval()
Copyright © 2026. All rights reserved.