Apache Ignite.NET
|
TCP discover service provider. More...
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... | |
Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.TcpDiscoverySpi | ( | ) |
|
static |
|
static |
|
static |
|
static |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultLocalPort = 47500 |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultLocalPortRange = 100 |
|
static |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultMaxMissedClientHeartbeats = 5 |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultMaxMissedHeartbeats = 1 |
|
static |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultReconnectCount = 10 |
|
static |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultThreadPriority = 10 |
const int Apache.Ignite.Core.Discovery.Tcp.TcpDiscoverySpi.DefaultTopologyHistorySize = 1000 |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |