Package com.daml.ledger.javaapi.data
Class Checkpoint
- java.lang.Object
-
- com.daml.ledger.javaapi.data.Checkpoint
-
public class Checkpoint extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Checkpoint(@NonNull java.time.Instant recordTime, @NonNull LedgerOffset offset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static Checkpoint
fromProto(CommandCompletionServiceOuterClass.Checkpoint checkpoint)
@NonNull LedgerOffset
getOffset()
@NonNull java.time.Instant
getRecordTime()
int
hashCode()
CommandCompletionServiceOuterClass.Checkpoint
toProto()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Checkpoint
public Checkpoint(@NonNull java.time.Instant recordTime, @NonNull LedgerOffset offset)
-
-
Method Detail
-
fromProto
public static Checkpoint fromProto(CommandCompletionServiceOuterClass.Checkpoint checkpoint)
-
toProto
public CommandCompletionServiceOuterClass.Checkpoint toProto()
-
getRecordTime
public @NonNull java.time.Instant getRecordTime()
-
getOffset
public @NonNull LedgerOffset getOffset()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-