Package akka.remote.testkit
Class MultiNodeConfig
- java.lang.Object
-
- akka.remote.testkit.MultiNodeConfig
-
public abstract class MultiNodeConfig extends java.lang.Object
Register a common base config for all test participants, if so desired.
-
-
Constructor Summary
Constructors Constructor Description MultiNodeConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 loggingscala.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 useblackhole
,passThrough
, andthrottle
you must activate the failure injector and throttler transport adapters by specifyingtestTransport(on = true)
in your MultiNodeConfig.
-
-
-
Method Detail
-
commonConfig
public void commonConfig(com.typesafe.config.Config config)
Register a common base config for all test participants, if so desired.- Parameters:
config
- (undocumented)
-
config
public com.typesafe.config.Config config()
-
debugConfig
public com.typesafe.config.Config debugConfig(boolean on)
Include for verbose debug logging- Parameters:
on
- whentrue
debug Config is returned, otherwise config with info logging- Returns:
- (undocumented)
-
deployOn
public void deployOn(RoleName role, java.lang.String deployment)
-
deployOnAll
public void deployOnAll(java.lang.String deployment)
-
deployments
public scala.collection.immutable.Seq<java.lang.String> deployments(RoleName node)
-
myself
public RoleName myself()
-
nodeConfig
public void nodeConfig(scala.collection.Seq<RoleName> roles, scala.collection.Seq<com.typesafe.config.Config> configs)
Register a config override for a specific participant.- Parameters:
roles
- (undocumented)configs
- (undocumented)
-
role
public RoleName role(java.lang.String name)
Construct a RoleName and return it, to be used as an identifier in the test. Registration of a role name creates a role which then needs to be filled.- Parameters:
name
- (undocumented)- Returns:
- (undocumented)
-
roles
public scala.collection.immutable.Seq<RoleName> roles()
-
testTransport
public void testTransport(boolean on)
To be able to useblackhole
,passThrough
, andthrottle
you must activate the failure injector and throttler transport adapters by specifyingtestTransport(on = true)
in your MultiNodeConfig.- Parameters:
on
- (undocumented)
-
-