Packages

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Deploy
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Deploy(scope: Scope)

    Java API to create a Deploy with the given Scope

  2. new Deploy(routing: RouterConfig, scope: Scope)

    Java API to create a Deploy with the given RouterConfig with Scope

  3. new Deploy(routing: RouterConfig)

    Java API to create a Deploy with the given RouterConfig

  4. new Deploy(path: String = "", config: Config = ConfigFactory.empty, routerConfig: RouterConfig = NoRouter, scope: Scope = NoScopeGiven, dispatcher: String = Deploy.NoDispatcherGiven, mailbox: String = Deploy.NoMailboxGiven)

Value Members

  1. val config: Config
  2. val dispatcher: String
  3. val mailbox: String
  4. val path: String
  5. val routerConfig: RouterConfig
  6. val scope: Scope
  7. 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).