Repository: ignite Updated Branches: refs/heads/master 587652736 -> 513b0f8de
Properties added Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/513b0f8d Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/513b0f8d Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/513b0f8d Branch: refs/heads/master Commit: 513b0f8de869a0fc519fbd3d3e0525b4898c77a2 Parents: 5876527 Author: Pavel Tupitsyn <[email protected]> Authored: Thu May 12 17:04:30 2016 +0300 Committer: Pavel Tupitsyn <[email protected]> Committed: Thu May 12 17:04:30 2016 +0300 ---------------------------------------------------------------------- .../Discovery/Tcp/TcpDiscoverySpi.cs | 70 ++++++++++++++++++++ 1 file changed, 70 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/513b0f8d/modules/platforms/dotnet/Apache.Ignite.Core/Discovery/Tcp/TcpDiscoverySpi.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Discovery/Tcp/TcpDiscoverySpi.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Discovery/Tcp/TcpDiscoverySpi.cs index ea946e8..ea471e8 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Discovery/Tcp/TcpDiscoverySpi.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Discovery/Tcp/TcpDiscoverySpi.cs @@ -114,6 +114,76 @@ namespace Apache.Ignite.Core.Discovery.Tcp public TimeSpan JoinTimeout { get; set; } /// <summary> + /// Gets or sets a value indicating whether TcpDiscoverySpi is started in server mode + /// regardless of <see cref="IgniteConfiguration.ClientMode"/> setting. + /// </summary> + public bool ForceServerMode { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether client does not try to reconnect after + /// server detected client node failure. + /// </summary> + public bool ClientReconnectDisabled { get; set; } + + /// <summary> + /// Gets or sets the local host IP address that discovery SPI uses. + /// </summary> + public string LocalAddress { get; set; } + + /// <summary> + /// Gets or sets the number of times node tries to (re)establish connection to another node. + /// </summary> + public int ReconnectCount { get; set; } + + /// <summary> + /// Gets or sets the local port to listen to. + /// </summary> + public int LocalPort { get; set; } + + /// <summary> + /// Gets or sets the range for local ports. Local node will try to bind on first available port starting from + /// <see cref="LocalPort"/> up until (<see cref="LocalPort"/> + <see cref="LocalPortRange"/>). + /// </summary> + public int LocalPortRange { get; set; } + + /// <summary> + /// Gets or sets the maximum heartbeats count node can miss without initiating status check. + /// </summary> + public int MaxMissedHeartbeats { get; set; } + + /// <summary> + /// Gets or sets the maximum heartbeats count node can miss without failing client node. + /// </summary> + public int MaxMissedClientHeartbeats { get; set; } + + /// <summary> + /// Gets or sets the statistics print frequency. + /// <see cref="TimeSpan.Zero"/> for no statistics. + /// </summary> + public TimeSpan StatisticsPrintFrequency { get; set; } + + /// <summary> + /// Gets or sets the IP finder clean frequency. + /// </summary> + public TimeSpan IpFinderCleanFrequency { get; set; } + + /// <summary> + /// Sets thread priority, 1 (lowest) to 10 (highest). All threads within SPI will be started with it. + /// </summary> + public int ThreadPriority { get; set; } + + /// <summary> + /// 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. + /// </summary> + public TimeSpan HeartbeatFrequency { get; set; } + + /// <summary> + /// Gets or sets the size of topology snapshots history. + /// </summary> + public int TopHistorySize { get; set; } + + /// <summary> /// Writes this instance to the specified writer. /// </summary> internal void Write(IBinaryRawWriter writer)
