Interface SnapshotProvider

All Known Implementing Classes:
StateRepositorySnapshotProvider

public interface SnapshotProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the subscribable messaging channel.
    Stream<? extends Message<?>>
    snapshot(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 Details

    • channelName

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

      Stream<? extends Message<?>> snapshot(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