MultiNodeSpec

org.apache.pekko.remote.testkit.MultiNodeSpec
See theMultiNodeSpec companion class
object MultiNodeSpec

Attributes

Companion
class
Source
MultiNodeSpec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Attributes

Source
MultiNodeSpec.scala

Concrete fields

val maxNodes: Int

Number of nodes node taking part in this test.

Number of nodes node taking part in this test.

-Dmultinode.max-nodes=4

Attributes

Source
MultiNodeSpec.scala
val selfIndex: Integer

Index of this node in the roles sequence. The TestConductor is started in “controller” mode on selfIndex 0, i.e. there you can inject failures and shutdown other nodes etc.

Index of this node in the roles sequence. The TestConductor is started in “controller” mode on selfIndex 0, i.e. there you can inject failures and shutdown other nodes etc.

-Dmultinode.index=0

Attributes

Source
MultiNodeSpec.scala

Name (or IP address; must be resolvable using InetAddress.getByName) of the host this node is running on.

Name (or IP address; must be resolvable using InetAddress.getByName) of the host this node is running on.

-Dmultinode.host=host.example.com

InetAddress.getLocalHost.getHostAddress is used if empty or "localhost" is defined as system property "multinode.host".

Attributes

Source
MultiNodeSpec.scala
val selfPort: Int

Port number of this node.

Port number of this node.

This is defined in function of property multinode.protocol. If set to 'udp', udpPort will be used. If unset or any other value, it will default to tcpPort.

Attributes

Source
MultiNodeSpec.scala

Name (or IP address; must be resolvable using InetAddress.getByName) of the host that the server node is running on.

Name (or IP address; must be resolvable using InetAddress.getByName) of the host that the server node is running on.

-Dmultinode.server-host=server.example.com

Attributes

Source
MultiNodeSpec.scala

Port number of the node that's running the server system. Defaults to 4711.

Port number of the node that's running the server system. Defaults to 4711.

-Dmultinode.server-port=4711

Attributes

Source
MultiNodeSpec.scala
val tcpPort: Int

TCP Port number to be used when running tests on TCP. 0 means a random port.

TCP Port number to be used when running tests on TCP. 0 means a random port.

-Dmultinode.port=0

Attributes

Source
MultiNodeSpec.scala

UDP Port number to be used when running tests on UDP. 0 means a random port.

UDP Port number to be used when running tests on UDP. 0 means a random port.

-Dmultinode.udp.port=0

Attributes

Source
MultiNodeSpec.scala