Apache Ignite.NET
Apache.Ignite.Core.Configuration.SqlConnectorConfiguration Class Reference

SQL connector configuration (for ODBC and JDBC). More...

Public Member Functions

 SqlConnectorConfiguration ()
 Initializes a new instance of the SqlConnectorConfiguration class. More...
 

Public Attributes

const int DefaultPort = 10800
 Default port. More...
 
const int DefaultPortRange = 100
 Default port range. More...
 
const int DefaultSocketBufferSize = 0
 Default socket buffer size. More...
 
const bool DefaultTcpNoDelay = true
 Default value of TcpNoDelay property. More...
 
const int DefaultMaxOpenCursorsPerConnection = 128
 Default maximum number of open cursors per connection. More...
 

Static Public Attributes

static readonly int DefaultThreadPoolSize = IgniteConfiguration.DefaultThreadPoolSize
 Default SQL connector thread pool size. More...
 

Properties

string Host [get, set]
 Gets or sets the host. More...
 
int Port [get, set]
 Gets or sets the port. More...
 
int PortRange [get, set]
 Gets or sets the port range. More...
 
int SocketSendBufferSize [get, set]
 Gets or sets the size of the socket send buffer. When set to 0, operating system default is used. More...
 
int SocketReceiveBufferSize [get, set]
 Gets or sets the size of the socket receive buffer. When set to 0, operating system default is used. More...
 
bool TcpNoDelay [get, set]
 Gets or sets the value for TCP_NODELAY socket option. Each socket will be opened using provided value. More...
 
int MaxOpenCursorsPerConnection [get, set]
 Gets or sets the maximum open cursors per connection. More...
 
int ThreadPoolSize [get, set]
 Gets or sets the size of the thread pool. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.SqlConnectorConfiguration ( )

Member Data Documentation

const int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.DefaultMaxOpenCursorsPerConnection = 128
const int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.DefaultPort = 10800
const int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.DefaultPortRange = 100
const int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.DefaultSocketBufferSize = 0
const bool Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.DefaultTcpNoDelay = true
readonly int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.DefaultThreadPoolSize = IgniteConfiguration.DefaultThreadPoolSize
static

Property Documentation

string Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.Host
getset
int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.MaxOpenCursorsPerConnection
getset
int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.Port
getset
int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.PortRange
getset
int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.SocketReceiveBufferSize
getset
int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.SocketSendBufferSize
getset
bool Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.TcpNoDelay
getset

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.

int Apache.Ignite.Core.Configuration.SqlConnectorConfiguration.ThreadPoolSize
getset