Interface SnapshotProducer

    • Method Detail

      • produce

        @NonNull
        @NonNull java.util.concurrent.CompletionStage<@NonNull SnapshotIndex> produce​(@NonNull
                                                                                      java.util.concurrent.Flow.Publisher<@NonNull Entity<@NonNull SnapshotEntityHeader>> entities)
        Produces a snapshot of given stream of entities.
        Parameters:
        entities - the entities as a stream which will be included in the snapshot.
        Returns:
        a SnapshotIndex