|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.actor.Deploy
public final class Deploy
This class represents deployment configuration for a given actor path. It is marked final in order to guarantee stable merge semantics (i.e. what overrides what in case multiple configuration sources are available) and is fully extensible via its Scope argument, and by the fact that an arbitrary Config section can be passed along with it (which will be merged when merging two Deploys).
The path field is used only when inserting the Deploy into a deployer and not needed when just doing deploy-as-you-go:
val remoteProps = someProps.withDeploy(Deploy(scope = RemoteScope("someOtherNodeName")))
Constructor Summary | |
---|---|
Deploy(RouterConfig routing)
Java API to create a Deploy with the given RouterConfig |
|
Deploy(RouterConfig routing,
Scope scope)
Java API to create a Deploy with the given RouterConfig with Scope |
|
Deploy(Scope scope)
Java API to create a Deploy with the given Scope |
|
Deploy(java.lang.String path,
com.typesafe.config.Config config,
RouterConfig routerConfig,
Scope scope,
java.lang.String dispatcher,
java.lang.String mailbox)
|
Method Summary | |
---|---|
com.typesafe.config.Config |
config()
|
java.lang.String |
dispatcher()
|
static Deploy |
local()
|
java.lang.String |
mailbox()
|
static java.lang.String |
NoDispatcherGiven()
|
static java.lang.String |
NoMailboxGiven()
|
java.lang.String |
path()
|
RouterConfig |
routerConfig()
|
Scope |
scope()
|
Deploy |
withFallback(Deploy other)
Do a merge between this and the other Deploy, where values from “this” take precedence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
---|
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
---|
canEqual, equals |
Constructor Detail |
---|
public Deploy(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)
public Deploy(RouterConfig routing)
public Deploy(RouterConfig routing, Scope scope)
public Deploy(Scope scope)
Method Detail |
---|
public static final java.lang.String NoDispatcherGiven()
public static final java.lang.String NoMailboxGiven()
public static Deploy local()
public java.lang.String path()
public com.typesafe.config.Config config()
public RouterConfig routerConfig()
public Scope scope()
public java.lang.String dispatcher()
public java.lang.String mailbox()
public Deploy withFallback(Deploy other)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |