public class PoolConfigUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
lifo
lifo
|
static int |
maxActive
set max idle count
|
static int |
maxIdle
if maxIdle == 0, ObjectPool has 0 size pool
|
static long |
maxWait
max wait time
|
static long |
minEvictableIdleTimeMillis
set min evictable idle count in milliseconds
|
static int |
minIdle
set min idle count
|
static int |
numTestsPerEvictionRun
set number tests per eviction to run
|
static long |
softMinEvictableIdleTimeMillis
softMinEvictableIdleTimeMillis
|
static boolean |
testOnBorrow
set if support test client workable on get client
|
static boolean |
testOnReturn
set if support test client workable on return client to pool
|
static boolean |
testWhileIdle
set if support test client workable while idle
|
static long |
timeBetweenEvictionRunsMillis
set time between eviction runs during in Milliseconds
|
static int |
timeout
operation time out
|
| 构造器和说明 |
|---|
PoolConfigUtils() |
public static int timeout
public static int maxIdle
public static long maxWait
public static boolean testOnBorrow
public static int minIdle
public static int maxActive
public static boolean testOnReturn
public static boolean testWhileIdle
public static long timeBetweenEvictionRunsMillis
public static int numTestsPerEvictionRun
public static long minEvictableIdleTimeMillis
public static long softMinEvictableIdleTimeMillis
public static boolean lifo
Copyright © 2018. All rights reserved.