Package org.apache.pekko.actor
Class Deploy
java.lang.Object
org.apache.pekko.actor.Deploy
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeploy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox) Deploy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox, scala.collection.immutable.Set<String> tags) Java API to create a Deploy with the given ScopeDeploy(RouterConfig routing) Java API to create a Deploy with the given RouterConfigDeploy(RouterConfig routing, Scope scope) Java API to create a Deploy with the given RouterConfig with Scope -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThis class represents deployment configuration for a given actor path.static com.typesafe.config.Configstatic RouterConfigstatic Scopestatic Stringstatic Stringstatic scala.collection.immutable.Set<String>static Deployapply(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox) static Stringstatic com.typesafe.config.Configstatic RouterConfigstatic Scopestatic Stringstatic Stringbooleancom.typesafe.config.Configconfig()copy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox) com.typesafe.config.ConfigbooleaninthashCode()static Deploylocal()mailbox()static final Stringstatic final Stringpath()intproductElement(int n) scope()scala.collection.immutable.Set<String>tags()toString()static scala.Option<scala.Tuple6<String,com.typesafe.config.Config, RouterConfig, Scope, String, String>> withFallback(Deploy other) Do a merge between this and the other Deploy, where values from “this” take precedence.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Deploy
-
Deploy
public Deploy(String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, String dispatcher, String mailbox) -
Deploy
Java API to create a Deploy with the given RouterConfig -
Deploy
Java API to create a Deploy with the given RouterConfig with Scope -
Deploy
Java API to create a Deploy with the given Scope
-
-
Method Details
-
$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
-
$lessinit$greater$default$4
-
$lessinit$greater$default$5
-
$lessinit$greater$default$6
-
$lessinit$greater$default$7
-
NoDispatcherGiven
-
NoMailboxGiven
-
local
-
apply
-
apply$default$1
-
apply$default$2
public static com.typesafe.config.Config apply$default$2() -
apply$default$3
-
apply$default$4
-
apply$default$5
-
apply$default$6
-
unapply
-
path
-
config
public com.typesafe.config.Config config() -
routerConfig
-
scope
-
dispatcher
-
mailbox
-
tags
-
withFallback
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 usingX.withFallback(other.X). -
withTags
-
copy
-
copy$default$1
-
copy$default$2
public com.typesafe.config.Config copy$default$2() -
copy$default$3
-
copy$default$4
-
copy$default$5
-
copy$default$6
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
equals
-
hashCode
public int hashCode() -
toString
-