Class Deploy

java.lang.Object
org.apache.pekko.actor.Deploy
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public final class Deploy extends Object implements Serializable, scala.Product, scala.Equals
See Also:
  • Constructor Details

    • Deploy

      public Deploy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox, scala.collection.immutable.Set<String> tags)
    • Deploy

      public Deploy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox)
    • Deploy

      public Deploy(RouterConfig routing)
      Java API to create a Deploy with the given RouterConfig
    • Deploy

      public Deploy(RouterConfig routing, Scope scope)
      Java API to create a Deploy with the given RouterConfig with Scope
    • Deploy

      public Deploy(Scope scope)
      Java API to create a Deploy with the given Scope
  • Method Details

    • $lessinit$greater$default$1

      public static String $lessinit$greater$default$1()
      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")))
       
    • $lessinit$greater$default$2

      public static com.typesafe.config.Config $lessinit$greater$default$2()
    • $lessinit$greater$default$3

      public static RouterConfig $lessinit$greater$default$3()
    • $lessinit$greater$default$4

      public static Scope $lessinit$greater$default$4()
    • $lessinit$greater$default$5

      public static String $lessinit$greater$default$5()
    • $lessinit$greater$default$6

      public static String $lessinit$greater$default$6()
    • $lessinit$greater$default$7

      public static scala.collection.immutable.Set<String> $lessinit$greater$default$7()
    • NoDispatcherGiven

      public static final String NoDispatcherGiven()
    • NoMailboxGiven

      public static final String NoMailboxGiven()
    • local

      public static Deploy local()
    • apply

      public static Deploy apply(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox)
    • apply$default$1

      public static String apply$default$1()
    • apply$default$2

      public static com.typesafe.config.Config apply$default$2()
    • apply$default$3

      public static RouterConfig apply$default$3()
    • apply$default$4

      public static Scope apply$default$4()
    • apply$default$5

      public static String apply$default$5()
    • apply$default$6

      public static String apply$default$6()
    • unapply

      public static scala.Option<scala.Tuple6<String,com.typesafe.config.Config,RouterConfig,Scope,String,String>> unapply(Deploy deploy)
    • path

      public String path()
    • config

      public com.typesafe.config.Config config()
    • routerConfig

      public RouterConfig routerConfig()
    • scope

      public Scope scope()
    • dispatcher

      public String dispatcher()
    • mailbox

      public String mailbox()
    • tags

      public scala.collection.immutable.Set<String> tags()
    • withFallback

      public Deploy withFallback(Deploy other)
      Do a merge between this and the other Deploy, where values from &ldquo;this&rdquo; take precedence. The &ldquo;path&rdquo; of the other Deploy is not taken into account. All other members are merged using X.withFallback(other.X).
    • withTags

      public Deploy withTags(scala.collection.immutable.Set<String> tags)
    • copy

      public Deploy copy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox)
    • copy$default$1

      public String copy$default$1()
    • copy$default$2

      public com.typesafe.config.Config copy$default$2()
    • copy$default$3

      public RouterConfig copy$default$3()
    • copy$default$4

      public Scope copy$default$4()
    • copy$default$5

      public String copy$default$5()
    • copy$default$6

      public String copy$default$6()
    • productElement

      public Object productElement(int n)
      Specified by:
      productElement in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • canEqual

      public boolean canEqual(Object that)
      Specified by:
      canEqual in interface scala.Equals
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object