Interface Checkpoint


  • public interface Checkpoint
    • Method Detail

      • asImpl

        io.pravega.client.stream.impl.CheckpointImpl asImpl()
        For internal use. Do not call.
        Returns:
        This
      • toBytes

        java.nio.ByteBuffer toBytes()
        Serializes the checkpoint to a compact byte array.
        Returns:
        A serialized version of this checkpoint.
      • fromBytes

        static Checkpoint fromBytes​(java.nio.ByteBuffer serializedCheckpoint)
        Deserializes the checkpoint from its serialized from obtained from calling toBytes().
        Parameters:
        serializedCheckpoint - A serialized checkpoint.
        Returns:
        The checkpoint object.