Akka.Cluster.Tools.PublishSubscribe.DistributedPubSubSettings.DistributedPubSubSettings C# (CSharp) Метод

DistributedPubSubSettings() публичный Метод

Creates a new instance of the DistributedPubSubSettings.
public DistributedPubSubSettings ( string role, RoutingLogic routingLogic, System.TimeSpan gossipInterval, System.TimeSpan removedTimeToLive, int maxDeltaElements ) : System
role string
routingLogic Akka.Routing.RoutingLogic
gossipInterval System.TimeSpan
removedTimeToLive System.TimeSpan
maxDeltaElements int
Результат System
        public DistributedPubSubSettings(string role, RoutingLogic routingLogic, TimeSpan gossipInterval, TimeSpan removedTimeToLive, int maxDeltaElements)
        {
            Role = !string.IsNullOrEmpty(role) ? role : null;
            RoutingLogic = routingLogic;
            GossipInterval = gossipInterval;
            RemovedTimeToLive = removedTimeToLive;
            MaxDeltaElements = maxDeltaElements;
        }