Interface SnapshotReplication

    • Method Detail

      • replicate

        void replicate​(SnapshotChunk snapshot)
        Replicates the given snapshot chunk.
        Parameters:
        snapshot - the chunk to replicate
      • consume

        void consume​(Consumer<SnapshotChunk> consumer)
        Registers an consumer, which should be called when an snapshot chunk was received.
        Parameters:
        consumer - the consumer which should be called