Package org.ldaptive
Class SingleConnectionFactory.Builder
- java.lang.Object
-
- org.ldaptive.DefaultConnectionFactory.Builder
-
- org.ldaptive.SingleConnectionFactory.Builder
-
- Enclosing class:
- SingleConnectionFactory
public static class SingleConnectionFactory.Builder extends DefaultConnectionFactory.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private SingleConnectionFactory
object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleConnectionFactory
build()
SingleConnectionFactory.Builder
config(ConnectionConfig config)
SingleConnectionFactory.Builder
failFastInitialize(boolean failFast)
SingleConnectionFactory.Builder
nonBlockingInitialize(boolean nonBlocking)
SingleConnectionFactory.Builder
onClose(Predicate<Connection> function)
SingleConnectionFactory.Builder
onOpen(Predicate<Connection> function)
SingleConnectionFactory.Builder
validator(ConnectionValidator validator)
-
Methods inherited from class org.ldaptive.DefaultConnectionFactory.Builder
freeze
-
-
-
-
Field Detail
-
object
private final SingleConnectionFactory object
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(Transport transport)
-
-
Method Detail
-
config
public SingleConnectionFactory.Builder config(ConnectionConfig config)
- Overrides:
config
in classDefaultConnectionFactory.Builder
-
onOpen
public SingleConnectionFactory.Builder onOpen(Predicate<Connection> function)
-
onClose
public SingleConnectionFactory.Builder onClose(Predicate<Connection> function)
-
validator
public SingleConnectionFactory.Builder validator(ConnectionValidator validator)
-
failFastInitialize
public SingleConnectionFactory.Builder failFastInitialize(boolean failFast)
-
nonBlockingInitialize
public SingleConnectionFactory.Builder nonBlockingInitialize(boolean nonBlocking)
-
build
public SingleConnectionFactory build()
- Overrides:
build
in classDefaultConnectionFactory.Builder
-
-