Click or drag to resize

Config Class

Use this class to configure the IDriver.
Inheritance Hierarchy
SystemObject
  Neo4j.DriverConfig

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public class Config

The Config type exposes the following members.

Constructors
  NameDescription
Public methodConfig
Initializes a new instance of the Config class
Top
Properties
  NameDescription
Public propertyConnectionAcquisitionTimeout
The maximum waiting time to either acquire an idle connection from the pool when connection pool is full or create a new connection when pool is not full.
Public propertyConnectionIdleTimeout
The idle timeout on pooled connections. A connection that has been idled in connection pool for longer than the given timeout is stale and will be closed once it is seen. Use InfiniteInterval to disable idle time checking.
Public propertyConnectionTimeout
The connection timeout when establishing a connection with a server.
Public propertyDefaultReadBufferSize
The default read buffer size which the driver allocates for its internal buffers.
Public propertyDefaultWriteBufferSize
The default write buffer size which the driver allocates for its internal buffers.
Public propertyEncryptionLevel
The use of encryption for all the connections created by the IDriver.
Public propertyFetchSize
The default fetch size. Since Bolt v4 (Neo4j 4.0+), the query running result (records) are pulled from server in batches. This fetch size defines how many records to pull in each batch. Use Infinite to disable batching and always pull all records in one batch instead.
Public propertyIpv6Enabled
The connections to support ipv6 addresses.
Public propertyLogger
The ILogger instance to be used to receive all logs produced by this driver.
Public propertyMaxConnectionLifetime
The maximum connection lifetime on pooled connections. A connection that has been created for longer than the given time will be closed once it is seen. Use InfiniteInterval to disable connection lifetime checking.
Public propertyMaxConnectionPoolSize
The max connection pool size.
Public propertyMaxIdleConnectionPoolSize
The max idle connection pool size. If the value of this is not internal set, then it will default to be the same as MaxConnectionPoolSize
Public propertyMaxReadBufferSize
The size when internal read buffers reach, will be released for garbage collection. If reading large records (nodes, relationships or paths) and experiencing too much garbage collection consider increasing this size to a reasonable amount depending on your data.
Public propertyMaxTransactionRetryTime
The maximum transaction retry timeout.
Public propertyMaxWriteBufferSize
The size when internal write buffers reach, will be released for garbage collection. If writing large values and experiencing too much garbage collection consider increasing this size to a reasonable amount depending on your data.
Public propertyResolver
Gets or internal sets a custom server address resolver used by the routing driver to resolve the initial address used to create the driver. Such resolution happens: 1) during the very first rediscovery when driver is created. 2) when all the known routers from the current routing table have failed and driver needs to fallback to the initial address.
Public propertySocketKeepAlive
The socket keep alive option.
Public propertyTrustManager
Specifies which TrustManager implementation should be used while establishing trust via TLS.
Public propertyUserAgent
Used to get and set the User Agent string. If not used the default will be "neo4j-dotnet/x.y" where x is the major version and y is the minor version.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInfinite
This const defines the value of infinite in terms of configuration properties.
Public fieldStatic memberInfiniteInterval
This const defines the value of infinite interval in terms of configuration properties.
Top
Remarks
See Also