@InterfaceStability.Unstable public class CheckpointId extends java.lang.Object implements java.lang.Comparable<CheckpointId>
serialize()
representation of the checkpoint id
as the store checkpoint directory name.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SEPARATOR |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CheckpointId that) |
static CheckpointId |
create() |
static CheckpointId |
deserialize(java.lang.String checkpointId) |
boolean |
equals(java.lang.Object o) |
long |
getMillis() |
long |
getNanoId() |
int |
hashCode() |
java.lang.String |
serialize()
Serialization of
CheckpointId as part of task checkpoints, in conjunction with deserialize(String) . |
java.lang.String |
toString() |
public static final java.lang.String SEPARATOR
public static CheckpointId create()
public static CheckpointId deserialize(java.lang.String checkpointId)
public long getMillis()
public long getNanoId()
public java.lang.String serialize()
CheckpointId
as part of task checkpoints, in conjunction with deserialize(String)
.CheckpointId
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(CheckpointId that)
compareTo
in interface java.lang.Comparable<CheckpointId>
public java.lang.String toString()
toString
in class java.lang.Object