Package org.apache.pekko.cluster.typed
Class ClusterSetup
Can be used in
pekko.actor.setup.ActorSystemSetup when starting the pekko.actor.typed.ActorSystem
to replace the default implementation of the Cluster extension. Intended
for tests that need to replace extension with stub/mock implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Extension>
ClusterSetupapply(scala.Function1<ActorSystem<?>, Cluster> createExtension) Methods inherited from class org.apache.pekko.actor.typed.ExtensionSetup
createExtension, extId
-
Constructor Details
-
ClusterSetup
-
-
Method Details
-
apply
public static <T extends Extension> ClusterSetup apply(scala.Function1<ActorSystem<?>, Cluster> createExtension)
-