|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.remote.RemoteActorRefProvider akka.cluster.ClusterActorRefProvider
public class ClusterActorRefProvider
INTERNAL API
The ClusterActorRefProvider
will load the Cluster
extension, i.e. the cluster will automatically be started when
the ClusterActorRefProvider
is used.
Constructor Summary | |
---|---|
ClusterActorRefProvider(java.lang.String _systemName,
ActorSystem.Settings _settings,
EventStream _eventStream,
Scheduler _scheduler,
DynamicAccess _dynamicAccess)
|
Method Summary | |
---|---|
protected akka.cluster.ClusterDeployer |
createDeployer()
Factory method to make it possible to override deployer in subclass Creates a new instance every time |
void |
init(akka.actor.ActorSystemImpl system)
Initialization of an ActorRefProvider happens in two steps: first construction of the object with settings, eventStream, scheduler, etc. |
void |
useActorOnNode(ActorPath path,
Props props,
Deploy deploy,
ActorRef supervisor)
This method is overridden here to keep track of remote deployed actors to be able to clean up corresponding child references. |
Methods inherited from class akka.remote.RemoteActorRefProvider |
---|
actorFor, actorFor, actorFor, actorOf, deadLetters, deployer, dispatcher, dynamicAccess, eventStream, getDefaultAddress, getExternalAddressFor, guardian, log, registerTempActor, remoteDaemon, remoteSettings, rootGuardian, rootPath, scheduler, serialization, settings, systemGuardian, systemName, tempContainer, tempPath, terminationFuture, transport, unregisterTempActor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterActorRefProvider(java.lang.String _systemName, ActorSystem.Settings _settings, EventStream _eventStream, Scheduler _scheduler, DynamicAccess _dynamicAccess)
Method Detail |
---|
public void init(akka.actor.ActorSystemImpl system)
ActorRefProvider
init
in interface ActorRefProvider
init
in class RemoteActorRefProvider
protected akka.cluster.ClusterDeployer createDeployer()
public void useActorOnNode(ActorPath path, Props props, Deploy deploy, ActorRef supervisor)
useActorOnNode
in class RemoteActorRefProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |