public class MultiNodeSpec$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MultiNodeSpec$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
MultiNodeSpec$() |
Modifier and Type | Method and Description |
---|---|
com.typesafe.config.Config |
baseConfig() |
int |
maxNodes()
Number of nodes node taking part in this test.
|
com.typesafe.config.Config |
nodeConfig() |
java.lang.Integer |
selfIndex()
Index of this node in the roles sequence.
|
java.lang.String |
selfName()
Name (or IP address; must be resolvable using InetAddress.getByName)
of the host this node is running on.
|
int |
selfPort()
Port number of this node.
|
java.lang.String |
serverName()
Name (or IP address; must be resolvable using InetAddress.getByName)
of the host that the server node is running on.
|
int |
serverPort()
Port number of the node that's running the server system.
|
public static final MultiNodeSpec$ MODULE$
public int maxNodes()
-Dmultinode.max-nodes=4
public java.lang.String selfName()
-Dmultinode.host=host.example.com
InetAddress.getLocalHost.getHostAddress is used if empty or "localhost" is defined as system property "multinode.host".
public int selfPort()
-Dmultinode.port=0
public java.lang.String serverName()
-Dmultinode.server-host=server.example.com
public int serverPort()
-Dmultinode.server-port=4711
public java.lang.Integer selfIndex()
-Dmultinode.index=0
public com.typesafe.config.Config nodeConfig()
public com.typesafe.config.Config baseConfig()