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 |
static int |
DEFAULT_REAP_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorrowConnectionTimeout()
Gets the borrow connection timeout.
|
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.
|
int |
getReapTimeout()
Gets the reap timeout.
|
java.lang.String |
getTestQuery()
Gets the query used to test connections.
|
java.lang.String |
getUniqueResourceName()
Gets the unique resource name.
|
static final int DEFAULT_ISOLATION_LEVEL_UNSET
static final int DEFAULT_POOL_SIZE
static final int DEFAULT_BORROW_CONNECTION_TIMEOUT
static final int DEFAULT_REAP_TIMEOUT
static final int DEFAULT_MAX_IDLE_TIME
static final int DEFAULT_MAINTENANCE_INTERVAL
static final int DEFAULT_MAX_LIFETIME
java.lang.String getUniqueResourceName()
int getMaxPoolSize()
int getMinPoolSize()
int getBorrowConnectionTimeout()
int getMaxIdleTime()
int getMaxLifetime()
int getReapTimeout()
int getMaintenanceInterval()
java.lang.String getTestQuery()
boolean getLocalTransactionMode()
default boolean getIgnoreJtaTransactions()
int getDefaultIsolationLevel()
Copyright © 2020. All Rights Reserved.