Package org.ldaptive
Class PooledConnectionFactory.Builder
- java.lang.Object
-
- org.ldaptive.PooledConnectionFactory.Builder
-
- Enclosing class:
- PooledConnectionFactory
public static final class PooledConnectionFactory.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private PooledConnectionFactory
object
-
Method Summary
-
-
-
Field Detail
-
object
private final PooledConnectionFactory object
-
-
Constructor Detail
-
Builder
private Builder()
-
Builder
private Builder(Transport t)
-
-
Method Detail
-
freeze
public PooledConnectionFactory.Builder freeze()
-
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)
-
validationExceptionHandler
public PooledConnectionFactory.Builder validationExceptionHandler(ValidationExceptionHandler handler)
-
pruneStrategy
public PooledConnectionFactory.Builder pruneStrategy(PruneStrategy strategy)
-
name
public PooledConnectionFactory.Builder name(String name)
-
build
public PooledConnectionFactory build()
-
-