akka.remote
Class AddressUidExtension$

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

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

Extension that holds a uid that is assigned as a random Int. The uid is intended to be used together with an Address to be able to distinguish restarted actor system using the same host and port.


Field Summary
static AddressUidExtension$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
AddressUidExtension$()
           
 
Method Summary
 AddressUidExtension createExtension(ExtendedActorSystem system)
          Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
 AddressUidExtension get(ActorSystem system)
          Returns an instance of the extension identified by this ExtensionId instance.
 AddressUidExtension$ 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 AddressUidExtension$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

AddressUidExtension$

public AddressUidExtension$()
Method Detail

get

public AddressUidExtension 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<AddressUidExtension>

lookup

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

Specified by:
lookup in interface ExtensionIdProvider

createExtension

public AddressUidExtension 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<AddressUidExtension>