| Package | Description |
|---|---|
| org.neo4j.driver.v1 |
| Modifier and Type | Method and Description |
|---|---|
static Config.ConfigBuilder |
Config.build()
Return a
Config.ConfigBuilder instance |
Config.ConfigBuilder |
Config.ConfigBuilder.withConnectionLivenessCheckTimeout(long value,
TimeUnit unit)
Pooled connections that have been idle in the pool for longer than this timeout
will be tested before they are used again, to ensure they are still live.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withConnectionTimeout(long value,
TimeUnit unit)
Specify socket connection timeout.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withEncryptionLevel(Config.EncryptionLevel level)
Configure the
Config.EncryptionLevel to use, use this to control wether the driver uses TLS encryption or not. |
Config.ConfigBuilder |
Config.ConfigBuilder.withLeakedSessionsLogging()
Enable logging of leaked sessions.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withLogging(Logging logging)
Provide an alternative logging implementation for the driver to use.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withMaxIdleSessions(int size)
The max number of idle sessions to keep open at once.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withMaxSessions(int size)
Deprecated.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withMaxTransactionRetryTime(long value,
TimeUnit unit)
Specify the maximum time transactions are allowed to retry via
Session.readTransaction(TransactionWork) and Session.writeTransaction(TransactionWork)
methods. |
Config.ConfigBuilder |
Config.ConfigBuilder.withRoutingFailureLimit(int routingFailureLimit)
Specify how many times the client should attempt to reconnect to the routing servers before declaring the
cluster unavailable.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withRoutingRetryDelay(long delay,
TimeUnit unit)
Specify how long to wait before retrying to connect to a routing server.
|
Config.ConfigBuilder |
Config.ConfigBuilder.withSessionLivenessCheckTimeout(long timeout)
Deprecated.
please use
withConnectionLivenessCheckTimeout(long, TimeUnit) method. This method
will be removed in future release. |
Config.ConfigBuilder |
Config.ConfigBuilder.withTrustStrategy(Config.TrustStrategy trustStrategy)
Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.
|
Copyright © 2017. All rights reserved.