Class ClientConnectorConfiguration
Client connector configuration (ODBC, JDBC, Thin Client).
Inheritance
Inherited Members
Namespace: Apache.Ignite.Core.Configuration
Assembly: Apache.Ignite.Core.dll
Syntax
public class ClientConnectorConfiguration
Constructors
ClientConnectorConfiguration()
Initializes a new instance of the ClientConnectorConfiguration class.
Declaration
public ClientConnectorConfiguration()
Fields
DefaultIdleTimeout
Default idle timeout.
Declaration
public static readonly TimeSpan DefaultIdleTimeout
Field Value
| Type | Description |
|---|---|
| System.TimeSpan |
DefaultJdbcEnabled
Default value for JdbcEnabled property.
Declaration
public const bool DefaultJdbcEnabled = true
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultMaxOpenCursorsPerConnection
Default maximum number of open cursors per connection.
Declaration
public const int DefaultMaxOpenCursorsPerConnection = 128
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultOdbcEnabled
Default value for OdbcEnabled property.
Declaration
public const bool DefaultOdbcEnabled = true
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultPort
Default port.
Declaration
public const int DefaultPort = 10800
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultPortRange
Default port range.
Declaration
public const int DefaultPortRange = 100
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultSocketBufferSize
Default socket buffer size.
Declaration
public const int DefaultSocketBufferSize = 0
Field Value
| Type | Description |
|---|---|
| System.Int32 |
DefaultTcpNoDelay
Default value of TcpNoDelay property.
Declaration
public const bool DefaultTcpNoDelay = true
Field Value
| Type | Description |
|---|---|
| System.Boolean |
DefaultThinClientEnabled
Default value for ThinClientEnabled property.
Declaration
public const bool DefaultThinClientEnabled = true
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
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 |
|---|---|
| System.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 |
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 |