C# Class Akka.Cluster.Tools.PublishSubscribe.DistributedPubSubSettings

Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Méthodes publiques

Свойство Type Description
GossipInterval System.TimeSpan
MaxDeltaElements int
RemovedTimeToLive System.TimeSpan
Role string
RoutingLogic Akka.Routing.RoutingLogic

Méthodes publiques

Méthode Description
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

Method Details

Create() public static méthode

Creates cluster publish/subscribe settings from the default configuration `akka.cluster.pub-sub`.
public static Create ( ActorSystem system ) : DistributedPubSubSettings
system ActorSystem
Résultat DistributedPubSubSettings

Create() public static méthode

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
Résultat DistributedPubSubSettings

DistributedPubSubSettings() public méthode

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
Résultat System

WithGossipInterval() public méthode

public WithGossipInterval ( System.TimeSpan gossipInterval ) : DistributedPubSubSettings
gossipInterval System.TimeSpan
Résultat DistributedPubSubSettings

WithMaxDeltaElements() public méthode

public WithMaxDeltaElements ( int maxDeltaElements ) : DistributedPubSubSettings
maxDeltaElements int
Résultat DistributedPubSubSettings

WithRemovedTimeToLive() public méthode

public WithRemovedTimeToLive ( System.TimeSpan removedTtl ) : DistributedPubSubSettings
removedTtl System.TimeSpan
Résultat DistributedPubSubSettings

WithRole() public méthode

public WithRole ( string role ) : DistributedPubSubSettings
role string
Résultat DistributedPubSubSettings

WithRoutingLogic() public méthode

public WithRoutingLogic ( RoutingLogic routingLogic ) : DistributedPubSubSettings
routingLogic Akka.Routing.RoutingLogic
Résultat DistributedPubSubSettings

Property Details

GossipInterval public_oe property

How often the DistributedPubSubMediator should send out gossip information
public TimeSpan,System GossipInterval
Résultat System.TimeSpan

MaxDeltaElements public_oe property

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
Résultat int

RemovedTimeToLive public_oe property

Removed entries are pruned after this duration.
public TimeSpan,System RemovedTimeToLive
Résultat System.TimeSpan

Role public_oe property

The mediator starts on members tagged with this role. Uses all if undefined.
public string Role
Résultat string

RoutingLogic public_oe property

The routing logic to use for DistributedPubSubMediator.Send.
public RoutingLogic,Akka.Routing RoutingLogic
Résultat Akka.Routing.RoutingLogic