@Documented @Inherited @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface CreateLdapConnectionPool
| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
additionalBinaryAttributes
Attributes names to be added to the list of default binary attributes
|
boolean |
lifo
Connections borrowed in LIFO order, default true
|
int |
maxActive
The maximum number of active connections, default 8
|
int |
maxIdle
The maximum number of idle connections, default 8
|
long |
maxWait
The maximum amount of time to wait for a connection to be returned in millis, default -1
|
long |
minEvictableIdleTimeMillis
The minimum idle time before evicting a connection in millis, default 1000*60*30
|
int |
minIdle
The minumum number of idle instances before evictor spawns new object, default 0
|
int |
numTestsPerEvictionRun
The number of objects to test per eviction run, default 3
|
long |
softMinEvictableIdleTimeMillis
Same as minEvictableIdleTimeMillis with extra condition that minIdle objects remain in pool, default -1
|
boolean |
testOnBorrow
If true, connection will be tested on borrow, default false
|
boolean |
testOnReturn
If true, connection will be tested on return, default false
|
boolean |
testWhileIdle
If true, connection will be tested on while idle, default false
|
long |
timeBetweenEvictionRunsMillis
The time, in millis, between eviction runs, default -1 (forever)
|
long |
timeout
The connection timeout in millis, default 30000
|
byte |
whenExhaustedAction
The default action when connections are exhausted, default 1 (block)
|
public abstract long timeout
public abstract String[] additionalBinaryAttributes
public abstract boolean lifo
public abstract int maxActive
public abstract int maxIdle
public abstract long maxWait
public abstract long minEvictableIdleTimeMillis
public abstract int minIdle
public abstract int numTestsPerEvictionRun
public abstract long softMinEvictableIdleTimeMillis
public abstract boolean testOnBorrow
public abstract boolean testOnReturn
public abstract boolean testWhileIdle
public abstract long timeBetweenEvictionRunsMillis
public abstract byte whenExhaustedAction
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.