Class IgniteClientConfiguration
Ignite thin client configuration.
Ignite thin client connects to a specific Ignite node with a socket and does not start JVM in process. This configuration should correspond to ClientConnectorConfiguration on a target node.
Inheritance
Inherited Members
Namespace: Apache.Ignite.Core.Client
Assembly: Apache.Ignite.Core.dll
Syntax
public class IgniteClientConfiguration
Constructors
IgniteClientConfiguration()
Initializes a new instance of the IgniteClientConfiguration class.
Declaration
public IgniteClientConfiguration()
Fields
DefaultPort
Default port.
Declaration
public const int DefaultPort = 10800
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 |
Properties
BinaryConfiguration
Gets or sets the binary configuration.
Declaration
public BinaryConfiguration BinaryConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| BinaryConfiguration |
Host
Gets or sets the host. Should not be null.
Declaration
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Port
Gets or sets the port.
Declaration
public int Port { 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 |