C# 클래스 Akka.Cluster.Tools.PublishSubscribe.DistributedPubSubSettings

파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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