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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Deploy, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- Deploy → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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 ensuring(cond: (Deploy) => Boolean, msg: => Any): Deploy
- def ensuring(cond: (Deploy) => Boolean): Deploy
- def ensuring(cond: Boolean, msg: => Any): Deploy
- def ensuring(cond: Boolean): Deploy
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Deploy → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- Deploy → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mailbox: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Set[String]
- def toString(): String
- Definition Classes
- Deploy → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Deploy toStringFormat[Deploy] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Deploy, B)
- Implicit
- This member is added by an implicit conversion from Deploy toArrowAssoc[Deploy] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.