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 aDistributedPubSubMediatoractor 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 Tapply(ActorSystem system)static Tapply(ClassicActorSystemProvider system)static DistributedPubSubcreateExtension(ExtendedActorSystem system)static booleanequals(java.lang.Object other)static DistributedPubSubget(ActorSystem system)static DistributedPubSubget(ClassicActorSystemProvider system)static inthashCode()booleanisTerminated()Returns true if this member is not tagged with the role configured for the mediator.static DistributedPubSub$lookup()ActorRefmediator()
-
-
-
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()
-
-