Interface ReplicatedEntityProvider<D extends com.akkaserverless.replicatedentity.ReplicatedData,​E extends ReplicatedEntity<D>>


  • public interface ReplicatedEntityProvider<D extends com.akkaserverless.replicatedentity.ReplicatedData,​E extends ReplicatedEntity<D>>
    Register a value based entity in AkkaServerless using a ReplicatedEntityProvider. The concrete ReplicatedEntityProvider is generated for the specific entities defined in Protobuf.
    • Method Detail

      • serviceDescriptor

        com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()
      • entityType

        String entityType()
      • newRouter

        com.akkaserverless.javasdk.impl.replicatedentity.ReplicatedEntityRouter<D,​E> newRouter​(ReplicatedEntityContext context)
      • additionalDescriptors

        com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()