final class ClusterSetup extends ExtensionSetup[Cluster]
Can be used in akka.actor.setup.ActorSystemSetup when starting the ActorSystem to replace the default implementation of the Cluster extension. Intended for tests that need to replace extension with stub/mock implementations.
- Source
- Cluster.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterSetup
- ExtensionSetup
- Setup
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ClusterSetup(createExtension: Function[ActorSystem[_], Cluster])
Value Members
-
final
def
and(other: Setup): ActorSystemSetup
Construct an ActorSystemSetup with this setup combined with another one.
Construct an ActorSystemSetup with this setup combined with another one. Allows for fluent creation of settings. If
other
is a setting of the same concrete Setup as this it will replace this.- Definition Classes
- Setup
-
val
createExtension: Function[ActorSystem[_], Cluster]
- Definition Classes
- ExtensionSetup
-
val
extId: ExtensionId[Cluster]
- Definition Classes
- ExtensionSetup