| Modifier and Type | Field and Description | 
|---|---|
static Option<Duration> | 
ConnectionFactoryOptions.CONNECT_TIMEOUT
Connection timeout. 
 | 
static Option<String> | 
ConnectionFactoryOptions.DATABASE
Initial database name. 
 | 
static Option<String> | 
ConnectionFactoryOptions.DRIVER
Driver name. 
 | 
static Option<String> | 
ConnectionFactoryOptions.HOST
Endpoint host name. 
 | 
static Option<IsolationLevel> | 
TransactionDefinition.ISOLATION_LEVEL
Isolation level requested for the transaction. 
 | 
static Option<Duration> | 
ConnectionFactoryOptions.LOCK_WAIT_TIMEOUT
Lock timeout. 
 | 
static Option<Duration> | 
TransactionDefinition.LOCK_WAIT_TIMEOUT
Lock wait timeout. 
 | 
static Option<String> | 
TransactionDefinition.NAME
Name of the transaction. 
 | 
static Option<CharSequence> | 
ConnectionFactoryOptions.PASSWORD
Password for authentication. 
 | 
static Option<Integer> | 
ConnectionFactoryOptions.PORT
Endpoint port number. 
 | 
static Option<String> | 
ConnectionFactoryOptions.PROTOCOL
Driver protocol name. 
 | 
static Option<Boolean> | 
TransactionDefinition.READ_ONLY
The transaction mutability (i.e. 
 | 
static Option<Boolean> | 
ConnectionFactoryOptions.SSL
Whether to require SSL. 
 | 
static Option<Duration> | 
ConnectionFactoryOptions.STATEMENT_TIMEOUT
Statement timeout. 
 | 
static Option<String> | 
ConnectionFactoryOptions.USER
User for authentication. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Option<?> | 
NoSuchOptionException.getOption()  | 
static <T> Option<T> | 
Option.sensitiveValueOf(String name)
Returns a constant singleton instance of the sensitive option. 
 | 
static <T> Option<T> | 
Option.valueOf(String name)
Returns a constant singleton instance of the option. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
IsolationLevel.getAttribute(Option<T> option)  | 
<T> T | 
TransactionDefinition.getAttribute(Option<T> option)
Retrieve a transaction attribute by its  
Option identifier. | 
Object | 
ConnectionFactoryOptions.getRequiredValue(Option<?> option)
Returns the value for an option if it exists. 
 | 
Object | 
ConnectionFactoryOptions.getValue(Option<?> option)
Returns the value for an option if it exists, otherwise  
null. | 
boolean | 
ConnectionFactoryOptions.hasOption(Option<?> option)
Returns  
true if the option exists, otherwise false. | 
<T> ConnectionFactoryOptions.Builder | 
ConnectionFactoryOptions.Builder.option(Option<T> option,
      T value)
Configure an  
Option value. | 
| Modifier and Type | Method and Description | 
|---|---|
ConnectionFactoryOptions.Builder | 
ConnectionFactoryOptions.Builder.from(ConnectionFactoryOptions connectionFactoryOptions,
    Predicate<Option<?>> filter)
Populates the builder with the existing values from a configured  
ConnectionFactoryOptions allowing to filter which values to include. | 
| Constructor and Description | 
|---|
NoSuchOptionException(String reason,
                     Option<?> option)
Creates a new  
NoSuchOptionException. | 
Copyright © 2021. All rights reserved.