Apache Ignite.NET
Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi Class Reference

TCP discover service provider. More...

Inheritance diagram for Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi:
Apache.Ignite.Core.Discovery.IDiscoverySpi

Public Member Functions

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

Public Attributes

const int DefaultReconnectCount = 10
 Default value for the ReconnectCount property. More...
 
const int DefaultLocalPort = 47500
 Default value for the LocalPort property. More...
 
const int DefaultLocalPortRange = 100
 Default value for the LocalPortRange property. More...
 
const int DefaultMaxMissedHeartbeats = 1
 Default value for the MaxMissedHeartbeats property. More...
 
const int DefaultMaxMissedClientHeartbeats = 5
 Default value for the MaxMissedClientHeartbeats property. More...
 
const int DefaultThreadPriority = 10
 Default value for the ThreadPriority property. More...
 
const int DefaultTopologyHistorySize = 1000
 Default value for the TopologyHistorySize property. More...
 

Static Public Attributes

static readonly TimeSpan DefaultSocketTimeout = TimeSpan.FromMilliseconds(5000)
 Default socket timeout. More...
 
static readonly TimeSpan DefaultAckTimeout = TimeSpan.FromMilliseconds(5000)
 Default acknowledgement timeout. More...
 
static readonly TimeSpan DefaultMaxAckTimeout = TimeSpan.FromMinutes(10)
 Default maximum acknowledgement timeout. More...
 
static readonly TimeSpan DefaultNetworkTimeout = TimeSpan.FromMilliseconds(5000)
 Default network timeout. More...
 
static readonly TimeSpan DefaultJoinTimeout = TimeSpan.Zero
 Default join timeout. More...
 
static readonly TimeSpan DefaultIpFinderCleanFrequency = TimeSpan.FromSeconds(60)
 Default value for the IpFinderCleanFrequency property. More...
 
static readonly TimeSpan DefaultHeartbeatFrequency = TimeSpan.FromSeconds(2)
 Default value for the HeartbeatFrequency property. More...
 

Properties

ITcpDiscoveryIpFinder IpFinder [get, set]
 Gets or sets the IP finder which defines how nodes will find each other on the network. More...
 
TimeSpan SocketTimeout [get, set]
 Gets or sets the socket timeout. More...
 
TimeSpan AckTimeout [get, set]
 Gets or sets the timeout for receiving acknowledgement for sent message. More...
 
TimeSpan MaxAckTimeout [get, set]
 Gets or sets the maximum timeout for receiving acknowledgement for sent message. More...
 
TimeSpan NetworkTimeout [get, set]
 Gets or sets the network timeout. More...
 
TimeSpan JoinTimeout [get, set]
 Gets or sets the join timeout. More...
 
bool ForceServerMode [get, set]
 Gets or sets a value indicating whether TcpDiscoverySpi is started in server mode regardless of IgniteConfiguration.ClientMode setting. More...
 
bool ClientReconnectDisabled [get, set]
 Gets or sets a value indicating whether client does not try to reconnect after server detected client node failure. More...
 
string LocalAddress [get, set]
 Gets or sets the local host IP address that discovery SPI uses. More...
 
int ReconnectCount [get, set]
 Gets or sets the number of times node tries to (re)establish connection to another node. More...
 
int LocalPort [get, set]
 Gets or sets the local port to listen to. More...
 
int LocalPortRange [get, set]
 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). More...
 
int MaxMissedHeartbeats [get, set]
 Gets or sets the maximum heartbeats count node can miss without initiating status check. More...
 
int MaxMissedClientHeartbeats [get, set]
 Gets or sets the maximum heartbeats count node can miss without failing client node. More...
 
TimeSpan StatisticsPrintFrequency [get, set]
 Gets or sets the statistics print frequency. TimeSpan.Zero for no statistics. More...
 
TimeSpan IpFinderCleanFrequency [get, set]
 Gets or sets the IP finder clean frequency. More...
 
int ThreadPriority [get, set]
 Sets thread priority, 1 (lowest) to 10 (highest). All threads within SPI will be started with it. More...
 
TimeSpan HeartbeatFrequency [get, set]
 Gets or sets delay between issuing of heartbeat messages. SPI sends heartbeat messages in configurable time interval to other nodes to notify them about its state. More...
 
int TopologyHistorySize [get, set]
 Gets or sets the size of topology snapshots history. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.TcpDiscoverySpi ( )

Member Data Documentation

readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultAckTimeout = TimeSpan.FromMilliseconds(5000)
static
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultHeartbeatFrequency = TimeSpan.FromSeconds(2)
static
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultIpFinderCleanFrequency = TimeSpan.FromSeconds(60)
static
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultJoinTimeout = TimeSpan.Zero
static
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultLocalPort = 47500
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultLocalPortRange = 100
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultMaxAckTimeout = TimeSpan.FromMinutes(10)
static
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultMaxMissedClientHeartbeats = 5
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultMaxMissedHeartbeats = 1
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultNetworkTimeout = TimeSpan.FromMilliseconds(5000)
static
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultReconnectCount = 10
readonly TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultSocketTimeout = TimeSpan.FromMilliseconds(5000)
static
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultThreadPriority = 10
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultTopologyHistorySize = 1000

Property Documentation

TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.AckTimeout
getset
bool Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.ClientReconnectDisabled
getset
bool Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.ForceServerMode
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.HeartbeatFrequency
getset
ITcpDiscoveryIpFinder Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.IpFinder
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.IpFinderCleanFrequency
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.JoinTimeout
getset
string Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.LocalAddress
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.LocalPort
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.LocalPortRange
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.MaxAckTimeout
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.MaxMissedClientHeartbeats
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.MaxMissedHeartbeats
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.NetworkTimeout
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.ReconnectCount
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.SocketTimeout
getset
TimeSpan Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.StatisticsPrintFrequency
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.ThreadPriority
getset
int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.TopologyHistorySize
getset