Package akka.cluster

Class Cluster$

    • 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 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)
      • 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)