public abstract class MultiNodeConfig
extends java.lang.Object
Constructor and Description |
---|
MultiNodeConfig() |
Modifier and Type | Method and Description |
---|---|
void |
commonConfig(com.typesafe.config.Config config)
Register a common base config for all test participants, if so desired.
|
com.typesafe.config.Config |
config() |
com.typesafe.config.Config |
debugConfig(boolean on)
Include for verbose debug logging
|
scala.collection.immutable.Seq<java.lang.String> |
deployments(RoleName node) |
void |
deployOn(RoleName role,
java.lang.String deployment) |
void |
deployOnAll(java.lang.String deployment) |
RoleName |
myself() |
void |
nodeConfig(scala.collection.Seq<RoleName> roles,
scala.collection.Seq<com.typesafe.config.Config> configs)
Register a config override for a specific participant.
|
RoleName |
role(java.lang.String name)
Construct a RoleName and return it, to be used as an identifier in the
test.
|
scala.collection.immutable.Seq<RoleName> |
roles() |
void |
testTransport(boolean on)
To be able to use
blackhole , passThrough , and throttle you must
activate the failure injector and throttler transport adapters by
specifying testTransport(on = true) in your MultiNodeConfig. |
public void commonConfig(com.typesafe.config.Config config)
config
- (undocumented)public void nodeConfig(scala.collection.Seq<RoleName> roles, scala.collection.Seq<com.typesafe.config.Config> configs)
roles
- (undocumented)configs
- (undocumented)public com.typesafe.config.Config debugConfig(boolean on)
on
- when true
debug Config is returned, otherwise config with info loggingpublic RoleName role(java.lang.String name)
name
- (undocumented)public void deployOn(RoleName role, java.lang.String deployment)
public void deployOnAll(java.lang.String deployment)
public void testTransport(boolean on)
blackhole
, passThrough
, and throttle
you must
activate the failure injector and throttler transport adapters by
specifying testTransport(on = true)
in your MultiNodeConfig.on
- (undocumented)public RoleName myself()
public com.typesafe.config.Config config()
public scala.collection.immutable.Seq<java.lang.String> deployments(RoleName node)
public scala.collection.immutable.Seq<RoleName> roles()