object AddressUidExtension extends ExtensionId[AddressUidExtension] with ExtensionIdProvider

Extension that holds a uid that is assigned as a random Long or Int depending on which version of remoting that is used.

The uid is intended to be used together with an akka.actor.Address to be able to distinguish restarted actor system using the same host and port.

Source
AddressUidExtension.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddressUidExtension
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(system: ActorSystem): AddressUidExtension

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance.

    Definition Classes
    ExtensionId
  2. def createExtension(system: ExtendedActorSystem): AddressUidExtension

    Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

    Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

    Definition Classes
    AddressUidExtensionExtensionId
  3. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  4. def get(system: ActorSystem): AddressUidExtension

    Returns an instance of the extension identified by this ExtensionId instance.

    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)
    Definition Classes
    AddressUidExtensionExtensionId
  5. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  6. def lookup(): AddressUidExtension.type

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    AddressUidExtensionExtensionIdProvider