|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.cluster.Cluster$
public class Cluster$
Cluster Extension Id and factory for creating Cluster extension. Example:
if (Cluster(system).isLeader) { ... }
| Field Summary | |
|---|---|
static Cluster$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
| Constructor Summary | |
|---|---|
Cluster$()
|
|
| Method Summary | |
|---|---|
Cluster |
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only. |
Cluster |
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance. |
Cluster$ |
lookup()
Returns the canonical ExtensionId for this Extension |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface akka.actor.ExtensionId |
|---|
apply |
| Field Detail |
|---|
public static final Cluster$ MODULE$
| Constructor Detail |
|---|
public Cluster$()
| Method Detail |
|---|
public Cluster get(ActorSystem system)
ExtensionId
override def get(system: ActorSystem): TheExtension = super.get(system)
get in interface ExtensionId<Cluster>public Cluster$ lookup()
ExtensionIdProvider
lookup in interface ExtensionIdProviderpublic Cluster createExtension(ExtendedActorSystem system)
ExtensionId
createExtension in interface ExtensionId<Cluster>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||