Class DistributedDataSetup
java.lang.Object
org.apache.pekko.actor.setup.Setup
org.apache.pekko.actor.typed.ExtensionSetup<DistributedData>
org.apache.pekko.cluster.ddata.typed.javadsl.DistributedDataSetup
Can be used in
pekko.actor.setup.ActorSystemSetup when starting the pekko.actor.typed.ActorSystem
to replace the default implementation of the DistributedData extension. Intended
for tests that need to replace extension with stub/mock implementations.-
Constructor Summary
ConstructorsConstructorDescriptionDistributedDataSetup(Function<ActorSystem<?>, DistributedData> createExtension) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Extension>
DistributedDataSetupapply(scala.Function1<ActorSystem<?>, DistributedData> createExtension) Methods inherited from class org.apache.pekko.actor.typed.ExtensionSetup
createExtension, extId
-
Constructor Details
-
DistributedDataSetup
-
-
Method Details
-
apply
public static <T extends Extension> DistributedDataSetup apply(scala.Function1<ActorSystem<?>, DistributedData> createExtension)
-