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