Class CheckpointImpl

  • All Implemented Interfaces:
    Checkpoint

    public final class CheckpointImpl
    extends java.lang.Object
    implements Checkpoint
    • Method Detail

      • toBytes

        public java.nio.ByteBuffer toBytes()
        Description copied from interface: Checkpoint
        Serializes the checkpoint to a compact byte array.
        Specified by:
        toBytes in interface Checkpoint
        Returns:
        A serialized version of this checkpoint.
      • fromBytes

        public static Checkpoint fromBytes​(java.nio.ByteBuffer buff)
        Description copied from interface: Checkpoint
        Deserializes the checkpoint from its serialized from obtained from calling Checkpoint.toBytes().
        Parameters:
        buff - A serialized checkpoint.
        Returns:
        The checkpoint object.
      • builder

        public static io.pravega.client.stream.impl.CheckpointImpl.CheckpointBuilder builder()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object