Package akka.cluster.pubsub
Class DistributedPubSubMediator.Internal$
- java.lang.Object
-
- akka.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 usesRouterto send messages to multiple destinations, Router in general unwraps messages fromRouterEnvelopeand sends the contents toRoutees.
-
-
-
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 usesRouterto send messages to multiple destinations, Router in general unwraps messages fromRouterEnvelopeand sends the contents toRoutees.Using mediator services should not have an undesired effect of unwrapping messages out of
RouterEnvelope. For this reason user messages are wrapped inDistributedPubSubMediator.Internal$.MediatorRouterEnvelopewhich will be unwrapped by theRouterleaving original user message.
-
-