C# Класс Akka.Cluster.Tools.PublishSubscribe.DistributedPubSubSettings

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
GossipInterval System.TimeSpan
MaxDeltaElements int
RemovedTimeToLive System.TimeSpan
Role string
RoutingLogic Akka.Routing.RoutingLogic

Открытые методы

Метод Описание
Create ( ActorSystem system ) : DistributedPubSubSettings

Creates cluster publish/subscribe settings from the default configuration `akka.cluster.pub-sub`.

Create ( Config config ) : DistributedPubSubSettings

Creates cluster publish subscribe settings from provided configuration with the same layout as `akka.cluster.pub-sub`.

DistributedPubSubSettings ( string role, RoutingLogic routingLogic, System.TimeSpan gossipInterval, System.TimeSpan removedTimeToLive, int maxDeltaElements ) : System

Creates a new instance of the DistributedPubSubSettings.

WithGossipInterval ( System.TimeSpan gossipInterval ) : DistributedPubSubSettings
WithMaxDeltaElements ( int maxDeltaElements ) : DistributedPubSubSettings
WithRemovedTimeToLive ( System.TimeSpan removedTtl ) : DistributedPubSubSettings
WithRole ( string role ) : DistributedPubSubSettings
WithRoutingLogic ( RoutingLogic routingLogic ) : DistributedPubSubSettings

Описание методов

Create() публичный статический Метод

Creates cluster publish/subscribe settings from the default configuration `akka.cluster.pub-sub`.
public static Create ( ActorSystem system ) : DistributedPubSubSettings
system ActorSystem
Результат DistributedPubSubSettings

Create() публичный статический Метод

Creates cluster publish subscribe settings from provided configuration with the same layout as `akka.cluster.pub-sub`.
public static Create ( Config config ) : DistributedPubSubSettings
config Akka.Configuration.Config
Результат DistributedPubSubSettings

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

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

public WithGossipInterval ( System.TimeSpan gossipInterval ) : DistributedPubSubSettings
gossipInterval System.TimeSpan
Результат DistributedPubSubSettings

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

public WithMaxDeltaElements ( int maxDeltaElements ) : DistributedPubSubSettings
maxDeltaElements int
Результат DistributedPubSubSettings

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

public WithRemovedTimeToLive ( System.TimeSpan removedTtl ) : DistributedPubSubSettings
removedTtl System.TimeSpan
Результат DistributedPubSubSettings

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

public WithRole ( string role ) : DistributedPubSubSettings
role string
Результат DistributedPubSubSettings

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

public WithRoutingLogic ( RoutingLogic routingLogic ) : DistributedPubSubSettings
routingLogic Akka.Routing.RoutingLogic
Результат DistributedPubSubSettings

Описание свойств

GossipInterval публичное свойство

How often the DistributedPubSubMediator should send out gossip information
public TimeSpan,System GossipInterval
Результат System.TimeSpan

MaxDeltaElements публичное свойство

Maximum number of elements to transfer in one message when synchronizing the registries. Next chunk will be transferred in next round of gossip.
public int MaxDeltaElements
Результат int

RemovedTimeToLive публичное свойство

Removed entries are pruned after this duration.
public TimeSpan,System RemovedTimeToLive
Результат System.TimeSpan

Role публичное свойство

The mediator starts on members tagged with this role. Uses all if undefined.
public string Role
Результат string

RoutingLogic публичное свойство

The routing logic to use for DistributedPubSubMediator.Send.
public RoutingLogic,Akka.Routing RoutingLogic
Результат Akka.Routing.RoutingLogic