final case class Deploy(path: String = "", config: Config = ConfigFactory.empty, routerConfig: RouterConfig = NoRouter, scope: Scope = NoScopeGiven, dispatcher: String = Deploy.NoDispatcherGiven, mailbox: String = Deploy.NoMailboxGiven) extends Product with Serializable
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")))
- Annotations
- @SerialVersionUID()
- Source
- Deployer.scala
- Alphabetic
- By Inheritance
- Deploy
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Deploy(scope: Scope)
Java API to create a Deploy with the given Scope
-
new
Deploy(routing: RouterConfig, scope: Scope)
Java API to create a Deploy with the given RouterConfig with Scope
-
new
Deploy(routing: RouterConfig)
Java API to create a Deploy with the given RouterConfig
- new Deploy(path: String = "", config: Config = ConfigFactory.empty, routerConfig: RouterConfig = NoRouter, scope: Scope = NoScopeGiven, dispatcher: String = Deploy.NoDispatcherGiven, mailbox: String = Deploy.NoMailboxGiven)
Value Members
- val config: Config
- val dispatcher: String
- val mailbox: String
- val path: String
- val routerConfig: RouterConfig
- val scope: Scope
-
def
withFallback(other: Deploy): Deploy
Do a merge between this and the other Deploy, where values from “this” take precedence.
Do a merge between this and the other Deploy, where values from “this” take precedence. The “path” of the other Deploy is not taken into account. All other members are merged using
X.withFallback(other.X)
.