DistributedPubSubMediator

org.apache.pekko.cluster.pubsub.DistributedPubSubMediator
See theDistributedPubSubMediator companion class

Attributes

Companion
class
Source
DistributedPubSubMediator.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed abstract class Count

Attributes

Companion
object
Source
DistributedPubSubMediator.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Count
case object Count extends Count

Scala API: Send this message to the mediator and it will reply with an Int of the number of subscribers. Only for testing purposes, to poll/await replication.

Scala API: Send this message to the mediator and it will reply with an Int of the number of subscribers. Only for testing purposes, to poll/await replication.

Attributes

Companion
class
Source
DistributedPubSubMediator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Count
class Object
trait Matchable
class Any
Show all
Self type
Count.type
final case class CountSubscribers(topic: String)

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class CurrentTopics(topics: Set[String])

Reply to GetTopics.

Reply to GetTopics.

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class GetTopics

Attributes

Companion
object
Source
DistributedPubSubMediator.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object GetTopics
case object GetTopics extends GetTopics

Send this message to the mediator and it will reply with CurrentTopics containing the names of the (currently known) registered topic names.

Send this message to the mediator and it will reply with CurrentTopics containing the names of the (currently known) registered topic names.

Attributes

Companion
class
Source
DistributedPubSubMediator.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class GetTopics
class Object
trait Matchable
class Any
Show all
Self type
GetTopics.type
final case class Publish(topic: String, msg: Any, sendOneMessageToEachGroup: Boolean) extends DistributedPubSubMessage, WrappedMessage

Attributes

Companion
object
Source
DistributedPubSubMediator.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
object Publish

Attributes

Companion
class
Source
DistributedPubSubMediator.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Publish.type
final case class Put(ref: ActorRef)

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Remove(path: String)

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Send(path: String, msg: Any, localAffinity: Boolean) extends DistributedPubSubMessage, WrappedMessage

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class SendToAll(path: String, msg: Any, allButSelf: Boolean) extends DistributedPubSubMessage, WrappedMessage

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class Subscribe(topic: String, group: Option[String], ref: ActorRef)

Attributes

Companion
object
Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Subscribe

Attributes

Companion
class
Source
DistributedPubSubMediator.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Subscribe.type
final case class SubscribeAck(subscribe: Subscribe) extends DeadLetterSuppression

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Unsubscribe(topic: String, group: Option[String], ref: ActorRef)

Attributes

Companion
object
Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Unsubscribe

Attributes

Companion
class
Source
DistributedPubSubMediator.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class UnsubscribeAck(unsubscribe: Unsubscribe)

Attributes

Source
DistributedPubSubMediator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

Java API: Send this message to the mediator and it will reply with an Integer of the number of subscribers.

Java API: Send this message to the mediator and it will reply with an Integer of the number of subscribers.

Attributes

Source
DistributedPubSubMediator.scala

Java API: Send this message to the mediator and it will reply with DistributedPubSubMediator.CurrentTopics containing the names of the (currently known) registered topic names.

Java API: Send this message to the mediator and it will reply with DistributedPubSubMediator.CurrentTopics containing the names of the (currently known) registered topic names.

Attributes

Source
DistributedPubSubMediator.scala

Scala API: Factory method for DistributedPubSubMediator pekko.actor.Props.

Scala API: Factory method for DistributedPubSubMediator pekko.actor.Props.

Attributes

Source
DistributedPubSubMediator.scala