akka.cluster
Class Cluster$

java.lang.Object
  extended by akka.cluster.Cluster$
All Implemented Interfaces:
ExtensionId<Cluster>, ExtensionIdProvider

public class Cluster$
extends java.lang.Object
implements ExtensionId<Cluster>, ExtensionIdProvider

Cluster Extension Id and factory for creating Cluster extension.


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.
 boolean isAssertInvariantsEnabled()
          INTERNAL API
 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, equals, hashCode
 

Field Detail

MODULE$

public static final Cluster$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

Cluster$

public Cluster$()
Method Detail

get

public Cluster get(ActorSystem system)
Description copied from interface: ExtensionId
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used used from Java also, this method should be overridden to get correct return type.

 override def get(system: ActorSystem): TheExtension = super.get(system)
 

Specified by:
get in interface ExtensionId<Cluster>
Parameters:
system - (undocumented)
Returns:
(undocumented)

lookup

public Cluster$ lookup()
Description copied from interface: ExtensionIdProvider
Returns the canonical ExtensionId for this Extension

Specified by:
lookup in interface ExtensionIdProvider
Returns:
(undocumented)

createExtension

public Cluster createExtension(ExtendedActorSystem system)
Description copied from interface: ExtensionId
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

Specified by:
createExtension in interface ExtensionId<Cluster>
Parameters:
system - (undocumented)
Returns:
(undocumented)

isAssertInvariantsEnabled

public final boolean isAssertInvariantsEnabled()
INTERNAL API

Returns:
(undocumented)