Package org.ldaptive
Class PooledConnectionFactory.Builder
- java.lang.Object
-
- org.ldaptive.PooledConnectionFactory.Builder
-
- Enclosing class:
- PooledConnectionFactory
public static class PooledConnectionFactory.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private PooledConnectionFactory
object
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
-
-
-
Field Detail
-
object
private final PooledConnectionFactory object
-
-
Method Detail
-
config
public PooledConnectionFactory.Builder config(ConnectionConfig cc)
-
min
public PooledConnectionFactory.Builder min(int size)
-
max
public PooledConnectionFactory.Builder max(int size)
-
validateOnCheckIn
public PooledConnectionFactory.Builder validateOnCheckIn(boolean b)
-
validateOnCheckOut
public PooledConnectionFactory.Builder validateOnCheckOut(boolean b)
-
validatePeriodically
public PooledConnectionFactory.Builder validatePeriodically(boolean b)
-
blockWaitTime
public PooledConnectionFactory.Builder blockWaitTime(Duration time)
-
connectOnCreate
public PooledConnectionFactory.Builder connectOnCreate(boolean connect)
-
failFastInitialize
public PooledConnectionFactory.Builder failFastInitialize(boolean failFast)
-
activator
public PooledConnectionFactory.Builder activator(ConnectionActivator activator)
-
passivator
public PooledConnectionFactory.Builder passivator(ConnectionPassivator passivator)
-
validator
public PooledConnectionFactory.Builder validator(ConnectionValidator validator)
-
pruneStrategy
public PooledConnectionFactory.Builder pruneStrategy(PruneStrategy strategy)
-
name
public PooledConnectionFactory.Builder name(String name)
-
build
public PooledConnectionFactory build()
-
-