Package de.otto.synapse.subscription
Interface SnapshotProvider
- All Known Implementing Classes:
StateRepositorySnapshotProvider
public interface SnapshotProvider
-
Method Summary
-
Method Details
-
channelName
String channelName()The name of the subscribable messaging channel.- Returns:
- channel name
-
snapshot
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
-