Packages

object MultiNodeSpec

Source
MultiNodeSpec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiNodeSpec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def configureNextPortIfFixed(config: Config): Config
  2. 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
  3. val selfIndex: Integer

    Index of this node in the roles sequence.

    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
  4. val selfName: String

    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".

  5. 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.

  6. val serverName: String

    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
  7. val serverPort: Int

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

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

    -Dmultinode.server-port=4711
  8. val tcpPort: Int

    TCP Port number to be used when running tests on TCP.

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

    -Dmultinode.port=0
  9. val udpPort: Option[Int]

    UDP Port number to be used when running tests on UDP.

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

    -Dmultinode.udp.port=0