@Singleton public class Neo4jDriverBuilder extends Object
Retryable.| Constructor and Description |
|---|
Neo4jDriverBuilder(Neo4jBoltConfiguration boltConfiguration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.driver.v1.Driver |
buildDriver()
Builds the Neo4j driver and retries the connection if there is a
ServiceUnavailableException exception. |
public Neo4jDriverBuilder(Neo4jBoltConfiguration boltConfiguration)
boltConfiguration - The configuration used to create the driver