public interface Checkpoint
Modifier and Type | Method and Description |
---|---|
io.pravega.client.stream.impl.CheckpointImpl |
asImpl()
For internal use.
|
static Checkpoint |
fromBytes(java.nio.ByteBuffer serializedCheckpoint)
Deserializes the checkpoint from its serialized from obtained from calling
toBytes() . |
java.lang.String |
getName()
Returns the name of the Checkpoint specified in
ReaderGroup.initiateCheckpoint(String, java.util.concurrent.ScheduledExecutorService) . |
java.nio.ByteBuffer |
toBytes()
Serializes the checkpoint to a compact byte array.
|
java.lang.String getName()
ReaderGroup.initiateCheckpoint(String, java.util.concurrent.ScheduledExecutorService)
.io.pravega.client.stream.impl.CheckpointImpl asImpl()
java.nio.ByteBuffer toBytes()
static Checkpoint fromBytes(java.nio.ByteBuffer serializedCheckpoint)
toBytes()
.serializedCheckpoint
- A serialized checkpoint.