Package org.apache.pekko.cluster.pubsub
Class DistributedPubSubMediator.Internal$
java.lang.Object
org.apache.pekko.cluster.pubsub.DistributedPubSubMediator.Internal$
- Enclosing class:
- DistributedPubSubMediator
INTERNAL API
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classclassstatic interfaceMessages used to encode protocol to make sure that we do not send Subscribe/Unsubscribe message to child (mediator -> topic, topic -> group) during a period of transition.final classclassclassclassclassclassclassfinal classclassclassSent from child to parent actor as response toDistributedPubSubMediator.Internal$.TerminateRequestin caseDistributedPubSubMediator.Subscribemessage arrived after sendingDistributedPubSubMediator.Internal$.NoMoreSubscribersbut before receivingDistributedPubSubMediator.Internal$.TerminateRequest.classSent from child to parent actor as response toDistributedPubSubMediator.Internal$.TerminateRequestin caseDistributedPubSubMediator.Subscribemessage arrived after sendingDistributedPubSubMediator.Internal$.NoMoreSubscribersbut before receivingDistributedPubSubMediator.Internal$.TerminateRequest.classPassivate-like message sent from child to parent, used to signal that sender has no subscribers and no child actors.classPassivate-like message sent from child to parent, used to signal that sender has no subscribers and no child actors.classclassfinal classclassfinal classclassfinal classclassfinal classclassclassSent from parent to child actor to signalize that messages are being buffered.classSent from parent to child actor to signalize that messages are being buffered.classstatic interfacefinal classclassfinal classclass -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DistributedPubSubMediator.Internal$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMediator usespekko.routing.Routerto send messages to multiple destinations, Router in general unwraps messages frompekko.routing.RouterEnvelopeand sends the contents topekko.routing.Routees.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Internal$
public Internal$()
-
-
Method Details
-
encName
-
mkKey
-
mkKey
-
wrapIfNeeded
Mediator usespekko.routing.Routerto send messages to multiple destinations, Router in general unwraps messages frompekko.routing.RouterEnvelopeand sends the contents topekko.routing.Routees.Using mediator services should not have an undesired effect of unwrapping messages out of
pekko.routing.RouterEnvelope. For this reason user messages are wrapped inDistributedPubSubMediator.Internal$.MediatorRouterEnvelopewhich will be unwrapped by thepekko.routing.Routerleaving original user message.
-