akka.cluster

ClusterActorRefProvider

class ClusterActorRefProvider extends RemoteActorRefProvider

INTERNAL API

The ClusterActorRefProvider will load the akka.cluster.Cluster extension, i.e. the cluster will automatically be started when the ClusterActorRefProvider is used.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ClusterActorRefProvider
  2. RemoteActorRefProvider
  3. ActorRefProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClusterActorRefProvider(_systemName: String, _settings: Settings, _eventStream: EventStream, _scheduler: Scheduler, _dynamicAccess: DynamicAccess)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def actorFor(ref: InternalActorRef, path: Iterable[String]): InternalActorRef

    Create actor reference for the specified child path starting at the given starting point.

    Create actor reference for the specified child path starting at the given starting point. This method always returns an actor which is “logically local”, i.e. it cannot be used to obtain a reference to an actor which is not physically or logically attached to this actor system.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  7. def actorFor(ref: InternalActorRef, path: String): InternalActorRef

    Create actor reference for a specified local or remote path, which will be parsed using java.

    Create actor reference for a specified local or remote path, which will be parsed using java.net.URI. If no such actor exists, it will be (equivalent to) a dead letter reference. If s is a relative URI, resolve it relative to the given ref.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  8. def actorFor(path: ActorPath): InternalActorRef

    Create actor reference for a specified local or remote path.

    Create actor reference for a specified local or remote path. If no such actor exists, it will be (equivalent to) a dead letter reference.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  9. def actorOf(system: ActorSystemImpl, props: Props, supervisor: InternalActorRef, path: ActorPath, systemService: Boolean, deploy: Option[Deploy], lookupDeploy: Boolean, async: Boolean): InternalActorRef

    Actor factory with create-only semantics: will create an actor as described by props with the given supervisor and path (may be different in case of remote supervision).

    Actor factory with create-only semantics: will create an actor as described by props with the given supervisor and path (may be different in case of remote supervision). If systemService is true, deployment is bypassed (local-only). If Some(deploy) is passed in, it should be regarded as taking precedence over the nominally applicable settings, but it should be overridable from external configuration; the lookup of the latter can be suppressed by setting lookupDeploy to false.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def createDeployer: ClusterDeployer

    Factory method to make it possible to override deployer in subclass Creates a new instance every time

    Factory method to make it possible to override deployer in subclass Creates a new instance every time

    Attributes
    protected
    Definition Classes
    ClusterActorRefProviderRemoteActorRefProvider
  13. def deadLetters: InternalActorRef

    Dead letter destination for this provider.

    Dead letter destination for this provider.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  14. val deployer: RemoteDeployer

    The Deployer associated with this ActorRefProvider

    The Deployer associated with this ActorRefProvider

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  15. def dispatcher: MessageDispatcher

  16. val dynamicAccess: DynamicAccess

    Definition Classes
    RemoteActorRefProvider
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. val eventStream: EventStream

    Definition Classes
    RemoteActorRefProvider
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getDefaultAddress: Address

    Obtain the external address of the default transport.

    Obtain the external address of the default transport.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  23. def getExternalAddressFor(addr: Address): Option[Address]

    Obtain the address which is to be used within sender references when sending to the given other address or none if the other address cannot be reached from this system (i.

    Obtain the address which is to be used within sender references when sending to the given other address or none if the other address cannot be reached from this system (i.e. no means of communication known; no attempt is made to verify actual reachability).

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  24. def guardian: LocalActorRef

    Reference to the supervisor used for all top-level user actors.

    Reference to the supervisor used for all top-level user actors.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. def init(system: ActorSystemImpl): Unit

    Initialization of an ActorRefProvider happens in two steps: first construction of the object with settings, eventStream, scheduler, etc.

    Initialization of an ActorRefProvider happens in two steps: first construction of the object with settings, eventStream, scheduler, etc. and then—when the ActorSystem is constructed—the second phase during which actors may be created (e.g. the guardians).

    Definition Classes
    ClusterActorRefProviderRemoteActorRefProviderActorRefProvider
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def log: LoggingAdapter

    Definition Classes
    RemoteActorRefProvider
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def registerTempActor(actorRef: InternalActorRef, path: ActorPath): Unit

    Registers an actorRef at a path returned by tempPath(); do NOT pass in any other path.

    Registers an actorRef at a path returned by tempPath(); do NOT pass in any other path.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  33. def remoteDaemon: InternalActorRef

    Definition Classes
    RemoteActorRefProvider
  34. val remoteSettings: RemoteSettings

    Definition Classes
    RemoteActorRefProvider
  35. def rootGuardian: InternalActorRef

    Reference to the supervisor of guardian and systemGuardian; this is exposed so that the ActorSystemImpl can use it as lookupRoot, i.

    Reference to the supervisor of guardian and systemGuardian; this is exposed so that the ActorSystemImpl can use it as lookupRoot, i.e. for anchoring absolute actor look-ups.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  36. def rootPath: ActorPath

    The root path for all actors within this actor system, not including any remote address information.

    The root path for all actors within this actor system, not including any remote address information.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  37. val scheduler: Scheduler

  38. def serialization: Serialization

    Definition Classes
    RemoteActorRefProvider
  39. val settings: Settings

    The Settings associated with this ActorRefProvider

    The Settings associated with this ActorRefProvider

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def systemGuardian: LocalActorRef

    Reference to the supervisor used for all top-level system actors.

    Reference to the supervisor used for all top-level system actors.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  42. val systemName: String

    Definition Classes
    RemoteActorRefProvider
  43. def tempContainer: VirtualPathContainer

    Returns the actor reference representing the “/temp” path.

    Returns the actor reference representing the “/temp” path.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  44. def tempPath(): ActorPath

    Generates and returns a unique actor path below “/temp”.

    Generates and returns a unique actor path below “/temp”.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  45. def terminationFuture: Future[Unit]

    This Future is completed upon termination of this ActorRefProvider, which is usually initiated by stopping the guardian via ActorSystem.

    This Future is completed upon termination of this ActorRefProvider, which is usually initiated by stopping the guardian via ActorSystem.stop().

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def transport: RemoteTransport

    Definition Classes
    RemoteActorRefProvider
  48. def unregisterTempActor(path: ActorPath): Unit

    Unregister a temporary actor from the “/temp” path (i.

    Unregister a temporary actor from the “/temp” path (i.e. obtained from tempPath()); do NOT pass in any other path.

    Definition Classes
    RemoteActorRefProviderActorRefProvider
  49. def useActorOnNode(path: ActorPath, props: Props, deploy: Deploy, supervisor: ActorRef): Unit

    This method is overridden here to keep track of remote deployed actors to be able to clean up corresponding child references.

    This method is overridden here to keep track of remote deployed actors to be able to clean up corresponding child references.

    Definition Classes
    ClusterActorRefProviderRemoteActorRefProvider
  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from RemoteActorRefProvider

Inherited from ActorRefProvider

Inherited from AnyRef

Inherited from Any

Ungrouped