final class Deploy extends Serializable with Product with Equals
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
- Product
- Equals
- Serializable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
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, routerConfig: RouterConfig, scope: Scope, dispatcher: String, mailbox: String)
- new Deploy(path: String = "", config: Config = ConfigFactory.empty, routerConfig: RouterConfig = NoRouter, scope: Scope = NoScopeGiven, dispatcher: String = Deploy.NoDispatcherGiven, mailbox: String = Deploy.NoMailboxGiven, tags: Set[String] = Set.empty)
Value Members
- def canEqual(that: Any): Boolean
- Definition Classes
- Deploy → Equals
- val config: Config
- def copy(path: String = path, config: Config = config, routerConfig: RouterConfig = routerConfig, scope: Scope = scope, dispatcher: String = dispatcher, mailbox: String = mailbox): Deploy
- val dispatcher: String
- def equals(other: Any): Boolean
- Definition Classes
- Deploy → Equals → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- Deploy → AnyRef → Any
- val mailbox: String
- val path: String
- def productArity: Int
- Definition Classes
- Deploy → Product
- def productElement(n: Int): Any
- Definition Classes
- Deploy → Product
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- val routerConfig: RouterConfig
- val scope: Scope
- val tags: Set[String]
- def toString(): String
- Definition Classes
- Deploy → AnyRef → Any
- 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)
. - def withTags(tags: Set[String]): Deploy