Java API: create Props from a given java.lang.Class
Java API: create Props from a given java.lang.Class
(Since version 2.2) use Props.create()
Java API: create Props from an UntypedActorFactory
Java API: create Props from an UntypedActorFactory
(Since version 2.2) use Props.create()
No-args constructor that sets all the default values.
No-args constructor that sets all the default values.
(Since version 2.2) use Props.create()
Obtain an upper-bound approximation of the actor class which is going to be created by these Props.
Obtain an upper-bound approximation of the actor class which is going to be created by these Props. In other words, the actor factory method will produce an instance of this class or a subclass thereof. This is used by the actor system to select special dispatchers or mailboxes in case dependencies are encoded in the actor type.
Convenience method for extracting the dispatcher information from the contained Deploy instance.
Convenience method for extracting the mailbox information from the contained Deploy instance.
Convenience method for extracting the router configuration from the contained Deploy instance.
Returns a new Props with the specified deployment configuration.
Returns a new Props with the specified dispatcher set.
Returns a new Props with the specified mailbox set.
Returns a new Props with the specified router config set.
(props: StringAdd).self
(props: StringFormat).self
(Since version 2.2) There is no use-case for this method anymore
Returns a new Props with the specified creator set.
Returns a new Props with the specified creator set.
(Since version 2.2) use Props.create(clazz, args).withDeploy(other.deploy)
Java API: Returns a new Props with the specified creator set.
Java API: Returns a new Props with the specified creator set.
The creator must not return the same instance multiple times.
(Since version 2.2) use Props.create(clazz, args ...).withDeploy(other.deploy) instead
Scala API: Returns a new Props with the specified creator set.
Scala API: Returns a new Props with the specified creator set.
The creator must not return the same instance multiple times.
(Since version 2.2) use Props(...).withDeploy(other.deploy)
(props: ArrowAssoc[Props]).x
(Since version 2.10.0) Use leftOfArrow
instead
(props: Ensuring[Props]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Props is a configuration object using in creating an Actor; it is immutable, so it is thread-safe and fully shareable.
Examples on Scala API:
Examples on Java API: