Package akka.actor
Class Deploy
- java.lang.Object
-
- akka.actor.Deploy
-
- All Implemented Interfaces:
java.io.Serializable,scala.Equals,scala.Product,scala.Serializable
public final class Deploy extends java.lang.Object implements scala.Product, scala.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Deploy(Scope scope)Java API to create a Deploy with the given ScopeDeploy(RouterConfig routing)Deploy(RouterConfig routing, Scope scope)Java API to create a Deploy with the given RouterConfig with ScopeDeploy(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String$lessinit$greater$default$1()This class represents deployment configuration for a given actor path.static com.typesafe.config.Config$lessinit$greater$default$2()static RouterConfig$lessinit$greater$default$3()static Scope$lessinit$greater$default$4()static java.lang.String$lessinit$greater$default$5()static java.lang.String$lessinit$greater$default$6()static Deployapply(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)This class represents deployment configuration for a given actor path.static java.lang.Stringapply$default$1()static com.typesafe.config.Configapply$default$2()static RouterConfigapply$default$3()static Scopeapply$default$4()static java.lang.Stringapply$default$5()static java.lang.Stringapply$default$6()booleancanEqual(java.lang.Object x$1)com.typesafe.config.Configconfig()Deploycopy(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)java.lang.Stringcopy$default$1()com.typesafe.config.Configcopy$default$2()RouterConfigcopy$default$3()Scopecopy$default$4()java.lang.Stringcopy$default$5()java.lang.Stringcopy$default$6()java.lang.Stringdispatcher()booleanequals(java.lang.Object x$1)inthashCode()static Deploylocal()java.lang.Stringmailbox()static java.lang.StringNoDispatcherGiven()static java.lang.StringNoMailboxGiven()java.lang.Stringpath()intproductArity()java.lang.ObjectproductElement(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()RouterConfigrouterConfig()Scopescope()java.lang.StringtoString()static scala.Option<scala.Tuple6<java.lang.String,com.typesafe.config.Config,RouterConfig,Scope,java.lang.String,java.lang.String>>unapply(Deploy x$0)DeploywithFallback(Deploy other)Do a merge between this and the other Deploy, where values from “this” take precedence.
-
-
-
Constructor Detail
-
Deploy
public Deploy(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)
-
Deploy
public Deploy(RouterConfig routing)
-
Deploy
public Deploy(RouterConfig routing, Scope scope)
Java API to create a Deploy with the given RouterConfig with Scope- Parameters:
routing- (undocumented)scope- (undocumented)
-
Deploy
public Deploy(Scope scope)
Java API to create a Deploy with the given Scope- Parameters:
scope- (undocumented)
-
-
Method Detail
-
$lessinit$greater$default$1
public static java.lang.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")))- Returns:
- (undocumented)
-
$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 java.lang.String $lessinit$greater$default$5()
-
$lessinit$greater$default$6
public static java.lang.String $lessinit$greater$default$6()
-
NoDispatcherGiven
public static final java.lang.String NoDispatcherGiven()
-
NoMailboxGiven
public static final java.lang.String NoMailboxGiven()
-
local
public static Deploy local()
-
apply
public static Deploy apply(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)
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")))- Parameters:
path- (undocumented)config- (undocumented)routerConfig- (undocumented)scope- (undocumented)dispatcher- (undocumented)mailbox- (undocumented)- Returns:
- (undocumented)
-
apply$default$1
public static java.lang.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 java.lang.String apply$default$5()
-
apply$default$6
public static java.lang.String apply$default$6()
-
unapply
public static scala.Option<scala.Tuple6<java.lang.String,com.typesafe.config.Config,RouterConfig,Scope,java.lang.String,java.lang.String>> unapply(Deploy x$0)
-
path
public java.lang.String path()
-
config
public com.typesafe.config.Config config()
-
routerConfig
public RouterConfig routerConfig()
-
scope
public Scope scope()
-
dispatcher
public java.lang.String dispatcher()
-
mailbox
public java.lang.String mailbox()
-
withFallback
public Deploy withFallback(Deploy other)
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).- Parameters:
other- (undocumented)- Returns:
- (undocumented)
-
copy
public Deploy copy(java.lang.String path, com.typesafe.config.Config config, RouterConfig routerConfig, Scope scope, java.lang.String dispatcher, java.lang.String mailbox)
-
copy$default$1
public java.lang.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 java.lang.String copy$default$5()
-
copy$default$6
public java.lang.String copy$default$6()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-