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.Object
INTERNAL 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.String
encName(java.lang.String s)
java.lang.String
mkKey(ActorPath path)
java.lang.String
mkKey(ActorRef ref)
scala.Function1<java.lang.Object,java.lang.Object>
wrapIfNeeded()
Mediator usesRouter
to send messages to multiple destinations, Router in general unwraps messages fromRouterEnvelope
and sends the contents toRoutee
s.
-
-
-
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 usesRouter
to send messages to multiple destinations, Router in general unwraps messages fromRouterEnvelope
and sends the contents toRoutee
s.Using mediator services should not have an undesired effect of unwrapping messages out of
RouterEnvelope
. For this reason user messages are wrapped inDistributedPubSubMediator.Internal$.MediatorRouterEnvelope
which will be unwrapped by theRouter
leaving original user message.
-
-