Package org.apache.pekko.cluster.pubsub
Class DistributedPubSubMediator.Internal$
- java.lang.Object
-
- org.apache.pekko.cluster.pubsub.DistributedPubSubMediator.Internal$
-
- Enclosing class:
- DistributedPubSubMediator
public static class DistributedPubSubMediator.Internal$ extends java.lang.ObjectINTERNAL API
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static DistributedPubSubMediator.Internal$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Internal$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringencName(java.lang.String s)java.lang.StringmkKey(ActorPath path)java.lang.StringmkKey(ActorRef ref)scala.Function1<java.lang.Object,java.lang.Object>wrapIfNeeded()Mediator usespekko.routing.Routerto send messages to multiple destinations, Router in general unwraps messages frompekko.routing.RouterEnvelopeand sends the contents topekko.routing.Routees.
-
-
-
Field Detail
-
MODULE$
public static final DistributedPubSubMediator.Internal$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
encName
public java.lang.String encName(java.lang.String s)
-
mkKey
public java.lang.String mkKey(ActorRef ref)
-
mkKey
public java.lang.String mkKey(ActorPath path)
-
wrapIfNeeded
public scala.Function1<java.lang.Object,java.lang.Object> 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.
-
-