Class TcpDiscoverySpi
TCP discover service provider.
Inheritance
Implements
Namespace: Apache.Ignite.Core.Discovery.Tcp
Assembly: Apache.Ignite.Core.dll
Syntax
public class TcpDiscoverySpi : object, IDiscoverySpi
Constructors
TcpDiscoverySpi()
Initializes a new instance of the TcpDiscoverySpi class.
Declaration
public TcpDiscoverySpi()
Fields
DefaultAckTimeout
Default acknowledgement timeout.
Declaration
public static readonly TimeSpan DefaultAckTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultIpFinderCleanFrequency
Default value for the IpFinderCleanFrequency property.
Declaration
public static readonly TimeSpan DefaultIpFinderCleanFrequency
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultJoinTimeout
Default join timeout.
Declaration
public static readonly TimeSpan DefaultJoinTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultLocalPort
Default value for the LocalPort property.
Declaration
public const int DefaultLocalPort = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultLocalPortRange
Default value for the LocalPortRange property.
Declaration
public const int DefaultLocalPortRange = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultMaxAckTimeout
Default maximum acknowledgement timeout.
Declaration
public static readonly TimeSpan DefaultMaxAckTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultNetworkTimeout
Default network timeout.
Declaration
public static readonly TimeSpan DefaultNetworkTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultReconnectCount
Default value for the ReconnectCount property.
Declaration
public const int DefaultReconnectCount = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultSocketTimeout
Default socket timeout.
Declaration
public static readonly TimeSpan DefaultSocketTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultThreadPriority
Default value for the ThreadPriority property.
Declaration
public const int DefaultThreadPriority = null
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultTopologyHistorySize
Default value for the TopologyHistorySize property.
Declaration
public const int DefaultTopologyHistorySize = null
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
AckTimeout
Gets or sets the timeout for receiving acknowledgement for sent message.
Declaration
public TimeSpan AckTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
ClientReconnectDisabled
Gets or sets a value indicating whether client does not try to reconnect after server detected client node failure.
Declaration
public bool ClientReconnectDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ForceServerMode
Gets or sets a value indicating whether TcpDiscoverySpi is started in server mode regardless of ClientMode setting.
Declaration
public bool ForceServerMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IpFinder
Gets or sets the IP finder which defines how nodes will find each other on the network.
Declaration
public ITcpDiscoveryIpFinder IpFinder { get; set; }
Property Value
Type | Description |
---|---|
ITcpDiscoveryIpFinder |
IpFinderCleanFrequency
Gets or sets the IP finder clean frequency.
Declaration
public TimeSpan IpFinderCleanFrequency { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
JoinTimeout
Gets or sets the join timeout.
Declaration
public TimeSpan JoinTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
LocalAddress
Gets or sets the local host IP address that discovery SPI uses.
Declaration
public string LocalAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LocalPort
Gets or sets the local port to listen to.
Declaration
public int LocalPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LocalPortRange
Gets or sets the range for local ports. Local node will try to bind on first available port starting from LocalPort up until (LocalPort + LocalPortRange).
Declaration
public int LocalPortRange { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxAckTimeout
Gets or sets the maximum timeout for receiving acknowledgement for sent message.
Declaration
public TimeSpan MaxAckTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
NetworkTimeout
Gets or sets the network timeout.
Declaration
public TimeSpan NetworkTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
ReconnectCount
Gets or sets the number of times node tries to (re)establish connection to another node.
Declaration
public int ReconnectCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SocketTimeout
Gets or sets the socket timeout.
Declaration
public TimeSpan SocketTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
StatisticsPrintFrequency
Gets or sets the statistics print frequency.
Declaration
public TimeSpan StatisticsPrintFrequency { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
ThreadPriority
Sets thread priority, 1 (lowest) to 10 (highest). All threads within SPI will be started with it.
Declaration
public int ThreadPriority { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TopologyHistorySize
Gets or sets the size of topology snapshots history.
Declaration
public int TopologyHistorySize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |