final class DistributedPubSubSettings extends NoSerializationVerificationNeeded
- Source
- DistributedPubSubMediator.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DistributedPubSubSettings
- NoSerializationVerificationNeeded
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DistributedPubSubSettings(role: Option[String], routingLogic: RoutingLogic, gossipInterval: FiniteDuration, removedTimeToLive: FiniteDuration, maxDeltaElements: Int, sendToDeadLettersWhenNoSubscribers: Boolean)
- role
Start the mediator on members tagged with this role. All members are used if undefined.
- routingLogic
The routing logic to use for
Send
.- gossipInterval
How often the DistributedPubSubMediator should send out gossip information
- removedTimeToLive
Removed entries are pruned after this duration
- maxDeltaElements
Maximum number of elements to transfer in one message when synchronizing the registries. Next chunk will be transferred in next round of gossip.
- sendToDeadLettersWhenNoSubscribers
When a message is published to a topic with no subscribers send it to the dead letters.
- new DistributedPubSubSettings(role: Option[String], routingLogic: RoutingLogic, gossipInterval: FiniteDuration, removedTimeToLive: FiniteDuration, maxDeltaElements: Int)
- Annotations
- @deprecated
- Deprecated
(Since version 2.5.5) Use the other constructor instead.
Value Members
- val gossipInterval: FiniteDuration
- val maxDeltaElements: Int
- val removedTimeToLive: FiniteDuration
- val role: Option[String]
- val routingLogic: RoutingLogic
- val sendToDeadLettersWhenNoSubscribers: Boolean
- def withGossipInterval(gossipInterval: FiniteDuration): DistributedPubSubSettings
- def withMaxDeltaElements(maxDeltaElements: Int): DistributedPubSubSettings
- def withRemovedTimeToLive(removedTimeToLive: FiniteDuration): DistributedPubSubSettings
- def withRole(role: Option[String]): DistributedPubSubSettings
- def withRole(role: String): DistributedPubSubSettings
- def withRoutingLogic(routingLogic: RoutingLogic): DistributedPubSubSettings
- def withSendToDeadLettersWhenNoSubscribers(sendToDeadLetterWhenNoSubscribers: Boolean): DistributedPubSubSettings