Package akka.cluster.pubsub
Class DistributedPubSub
- java.lang.Object
-
- akka.cluster.pubsub.DistributedPubSub
-
- All Implemented Interfaces:
Extension
public class DistributedPubSub extends java.lang.Object implements Extension
Extension that starts aDistributedPubSubMediator
actor with settings defined in config sectionakka.cluster.pub-sub
.
-
-
Constructor Summary
Constructors Constructor Description DistributedPubSub(ExtendedActorSystem system)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static T
apply(ActorSystem system)
static T
apply(ClassicActorSystemProvider system)
static DistributedPubSub
createExtension(ExtendedActorSystem system)
static boolean
equals(java.lang.Object other)
static DistributedPubSub
get(ActorSystem system)
static DistributedPubSub
get(ClassicActorSystemProvider system)
static int
hashCode()
boolean
isTerminated()
Returns true if this member is not tagged with the role configured for the mediator.static DistributedPubSub$
lookup()
ActorRef
mediator()
-
-
-
Constructor Detail
-
DistributedPubSub
public DistributedPubSub(ExtendedActorSystem system)
-
-
Method Detail
-
get
public static DistributedPubSub get(ActorSystem system)
-
get
public static DistributedPubSub get(ClassicActorSystemProvider system)
-
lookup
public static DistributedPubSub$ lookup()
-
createExtension
public static DistributedPubSub createExtension(ExtendedActorSystem system)
-
apply
public static T apply(ActorSystem system)
-
apply
public static T apply(ClassicActorSystemProvider system)
-
hashCode
public static final int hashCode()
-
equals
public static final boolean equals(java.lang.Object other)
-
isTerminated
public boolean isTerminated()
Returns true if this member is not tagged with the role configured for the mediator.
-
mediator
public ActorRef mediator()
-
-