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(Function<Connection,Boolean> function)
SingleConnectionFactory.Builder
onOpen(Function<Connection,Boolean> function)
SingleConnectionFactory.Builder
validator(ConnectionValidator validator)
-
-
-
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(Function<Connection,Boolean> function)
-
onClose
public SingleConnectionFactory.Builder onClose(Function<Connection,Boolean> 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
-
-