Interface SnapshotProvider

    • Method Summary

      Modifier and Type Method Description
      java.lang.String channelName()
      The name of the subscribable messaging channel.
      java.util.stream.Stream<? extends Message<?>> snapshot​(java.lang.String entityId)
      Returns a stream containing all Messages required to get the most current snapshot for the entity that is identified by the given entityId
    • Method Detail

      • channelName

        java.lang.String channelName()
        The name of the subscribable messaging channel.
        Returns:
        channel name
      • snapshot

        java.util.stream.Stream<? extends Message<?>> snapshot​(java.lang.String entityId)
        Returns a stream containing all Messages required to get the most current snapshot for the entity that is identified by the given entityId
        Parameters:
        entityId - the identifier used to select a single entity.
        Returns:
        Stream of messages