Package akka.cluster.typed
Class ClusterSetup
- java.lang.Object
 - 
- akka.actor.setup.Setup
 - 
- akka.actor.typed.ExtensionSetup<Cluster>
 - 
- akka.cluster.typed.ClusterSetup
 
 
 
 
- 
public final class ClusterSetup extends ExtensionSetup<Cluster>
Can be used inActorSystemSetupwhen starting theActorSystemto replace the default implementation of theClusterextension. Intended for tests that need to replace extension with stub/mock implementations. 
- 
- 
Constructor Summary
Constructors Constructor Description ClusterSetup(java.util.function.Function<ActorSystem<?>,Cluster> createExtension) 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Extension>
ClusterSetupapply(scala.Function1<ActorSystem<?>,Cluster> createExtension)- 
Methods inherited from class akka.actor.typed.ExtensionSetup
createExtension, extId 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ClusterSetup
public ClusterSetup(java.util.function.Function<ActorSystem<?>,Cluster> createExtension)
 
 - 
 
- 
Method Detail
- 
apply
public static <T extends Extension> ClusterSetup apply(scala.Function1<ActorSystem<?>,Cluster> createExtension)
 
 - 
 
 -