Class ClientConnectorConfiguration
Client connector configuration (ODBC, JDBC, Thin Client).
Inheritance
Namespace: Apache.Ignite.Core.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class ClientConnectorConfiguration : object
Constructors
ClientConnectorConfiguration()
Initializes a new instance of the ClientConnectorConfiguration class.
Declaration
public ClientConnectorConfiguration()
Fields
DefaultHandshakeTimeout
Default handshake timeout.
Declaration
public static readonly TimeSpan DefaultHandshakeTimeout
Field Value
| Type | Description |
|---|---|
| TimeSpan |
DefaultIdleTimeout
Default idle timeout.
Declaration
public static readonly TimeSpan DefaultIdleTimeout
Field Value
| Type | Description |
|---|---|
| TimeSpan |
DefaultJdbcEnabled
Default value for JdbcEnabled property.
Declaration
public const bool DefaultJdbcEnabled = null
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultMaxOpenCursorsPerConnection
Default maximum number of open cursors per connection.
Declaration
public const int DefaultMaxOpenCursorsPerConnection = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultOdbcEnabled
Default value for OdbcEnabled property.
Declaration
public const bool DefaultOdbcEnabled = null
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultPort
Default port.
Declaration
public const int DefaultPort = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultPortRange
Default port range.
Declaration
public const int DefaultPortRange = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultSocketBufferSize
Default socket buffer size.
Declaration
public const int DefaultSocketBufferSize = null
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultTcpNoDelay
Default value of TcpNoDelay property.
Declaration
public const bool DefaultTcpNoDelay = null
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultThinClientEnabled
Default value for ThinClientEnabled property.
Declaration
public const bool DefaultThinClientEnabled = null
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultThreadPoolSize
Default SQL connector thread pool size.
Declaration
public static readonly int DefaultThreadPoolSize
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
HandshakeTimeout
Gets or sets handshake timeout for client connections on the server side. If no successful handshake is performed within this timeout upon successful establishment of TCP connection the connection is closed.
Declaration
public TimeSpan HandshakeTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Host
Gets or sets the host.
Declaration
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IdleTimeout
Gets or sets idle timeout for client connections on the server side. If no packets come within idle timeout, the connection is closed by the server. Zero or negative means no timeout.
Declaration
public TimeSpan IdleTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
JdbcEnabled
Gets or sets a value indicating whether JDBC connector is enabled.
Declaration
public bool JdbcEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MaxOpenCursorsPerConnection
Gets or sets the maximum open cursors per connection.
Declaration
public int MaxOpenCursorsPerConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
OdbcEnabled
Gets or sets a value indicating whether ODBC connector is enabled.
Declaration
public bool OdbcEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Port
Gets or sets the port.
Declaration
public int Port { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PortRange
Gets or sets the port range.
Declaration
public int PortRange { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SocketReceiveBufferSize
Gets or sets the size of the socket receive buffer. When set to 0, operating system default is used.
Declaration
public int SocketReceiveBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SocketSendBufferSize
Gets or sets the size of the socket send buffer. When set to 0, operating system default is used.
Declaration
public int SocketSendBufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
TcpNoDelay
Gets or sets the value for TCP_NODELAY socket option. Each
socket will be opened using provided value.
Setting this option to true disables Nagle's algorithm
for socket decreasing latency and delivery time for small messages.
For systems that work under heavy network load it is advisable to set this value to false.
Declaration
public bool TcpNoDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ThinClientConfiguration
Gets or sets thin client specific configuration.
Declaration
public ThinClientConfiguration ThinClientConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| ThinClientConfiguration |
ThinClientEnabled
Gets or sets a value indicating whether thin client connector is enabled.
Declaration
public bool ThinClientEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ThreadPoolSize
Gets or sets the size of the thread pool.
Declaration
public int ThreadPoolSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |