public class ConnectionPoolInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionPoolInfo.Builder
This is a builder class for constructing a ConnectionPoolInfo manually.
|
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_DEADLOCK_MAX_WAIT |
static long |
DEFAULT_DEADLOCK_RETRY_WAIT |
static long |
DEFAULT_POOL_LIFE_TIME |
static int |
DEFAULT_POOL_MAX_SIZE |
static long |
DEFAULT_POOL_MAX_WAIT |
static int |
DEFAULT_POOL_MIN_SIZE |
static long |
DEFAULT_POOL_SLEEP_TIME |
| Constructor and Description |
|---|
ConnectionPoolInfo(Integer maxSize,
Integer minSize,
Long maxWait,
long sleepTime,
long lifeTime,
long deadLockMaxWait,
long deadLockRetryWait,
String validationQuery,
Long minEvictableTimeMillis,
Long timeBetweenEvictionRunsMillis) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionPoolInfo.Builder |
builder() |
boolean |
equals(Object o) |
long |
getDeadLockMaxWait() |
long |
getDeadLockRetryWait() |
String |
getDefaultCatalog() |
Integer |
getInitialSize() |
long |
getLifeTime() |
int |
getMaxIdle() |
Integer |
getMaxOpenPreparedStatements() |
int |
getMaxSize() |
long |
getMaxWait() |
Long |
getMinEvictableTimeMillis() |
int |
getMinSize() |
Integer |
getNumTestsPerEvictionRun() |
Boolean |
getPoolPreparedStatements() |
Boolean |
getRemoveAbandonedOnBorrow() |
Boolean |
getRemoveAbandonedOnMaintanance() |
Integer |
getRemoveAbandonedTimeout() |
long |
getSleepTime() |
Boolean |
getTestOnBorrow() |
Boolean |
getTestOnReturn() |
Boolean |
getTestWhileIdle() |
Long |
getTimeBetweenEvictionRunsMillis() |
String |
getValidationQuery() |
Integer |
getValidationQueryTimeout() |
int |
hashCode() |
ConnectionPoolInfo.Builder |
toBuilder() |
String |
toString() |
public static final int DEFAULT_POOL_MAX_SIZE
public static final int DEFAULT_POOL_MIN_SIZE
public static final long DEFAULT_POOL_MAX_WAIT
public static final long DEFAULT_POOL_SLEEP_TIME
public static final long DEFAULT_POOL_LIFE_TIME
public static final long DEFAULT_DEADLOCK_MAX_WAIT
public static final long DEFAULT_DEADLOCK_RETRY_WAIT
public static ConnectionPoolInfo.Builder builder()
public ConnectionPoolInfo.Builder toBuilder()
public int getMaxSize()
public int getMinSize()
public int getMaxIdle()
public Integer getInitialSize()
public long getMaxWait()
public long getSleepTime()
public long getLifeTime()
public long getDeadLockMaxWait()
public long getDeadLockRetryWait()
public String getValidationQuery()
public Long getMinEvictableTimeMillis()
public Long getTimeBetweenEvictionRunsMillis()
public Boolean getPoolPreparedStatements()
public Boolean getRemoveAbandonedOnBorrow()
public Boolean getRemoveAbandonedOnMaintanance()
public Boolean getTestOnBorrow()
public Boolean getTestOnReturn()
public Boolean getTestWhileIdle()
public Integer getMaxOpenPreparedStatements()
public Integer getNumTestsPerEvictionRun()
public Integer getRemoveAbandonedTimeout()
public Integer getValidationQueryTimeout()
public String getDefaultCatalog()
Copyright © 2024 Atlassian. All rights reserved.