Class DistributedData.AbstractDDataProvider<R extends org.apache.pekko.cluster.ddata.ReplicatedData,T extends DistributedData<R>>
java.lang.Object
org.apache.pekko.actor.AbstractExtensionId<T>
org.eclipse.ditto.internal.utils.ddata.DistributedData.AbstractDDataProvider<R,T>
- Type Parameters:
R- type of distributed data.T- type of the actor system extension to handle the distributed data.
- All Implemented Interfaces:
org.apache.pekko.actor.ExtensionId<T>
- Enclosing class:
DistributedData<R extends org.apache.pekko.cluster.ddata.ReplicatedData>
public abstract static class DistributedData.AbstractDDataProvider<R extends org.apache.pekko.cluster.ddata.ReplicatedData,T extends DistributedData<R>>
extends org.apache.pekko.actor.AbstractExtensionId<T>
Extension provider for Ditto distributed data.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor available for subclasses only. -
Method Summary
Modifier and TypeMethodDescriptionabstract TcreateExtension(org.apache.pekko.actor.ExtendedActorSystem system) lookup()Lookup an extension provider to load an extension from config on actor system startup.Methods inherited from class org.apache.pekko.actor.AbstractExtensionId
apply, apply, equals, get, get, hashCode
-
Constructor Details
-
AbstractDDataProvider
protected AbstractDDataProvider()Constructor available for subclasses only.
-
-
Method Details
-
createExtension
-
lookup
Lookup an extension provider to load an extension from config on actor system startup. Required by ExtensionIdProvider; not used by Ditto.- Returns:
- this object.
-