Interface RememberEntitiesProvider


  • public interface RememberEntitiesProvider
    INTERNAL API

    Created once for the shard guardian

    • Method Detail

      • coordinatorStoreProps

        Props coordinatorStoreProps()
        Called once per started shard coordinator to create the remember entities coordinator store.

        Note that this is not used for the deprecated persistent coordinator which has its own impl for keeping track of remembered shards.

        Returns:
        an actor that handles the protocol defined in RememberEntitiesCoordinatorStore
      • shardStoreProps

        Props shardStoreProps​(java.lang.String shardId)
        Called once per started shard to create the remember entities shard store

        The store is created as a child of the shard and the shard death-watches it. On any failure the store must stop itself rather than stay alive without responding, see RememberEntitiesShardStore for the contract.

        Returns:
        an actor that handles the protocol defined in RememberEntitiesShardStore