Constructor and Description |
---|
OperationId(Long leastSignificant,
Long mostSignificant)
Constructs and initializes a 128 bit OperationId.
|
OperationId(UUID guid)
Constructs and initializes a 128 bit OperationId from an UUID.
|
Modifier and Type | Method and Description |
---|---|
static OperationId |
fromFsProto(FsOpPId opId)
Creates FsOpId from proto.
|
static OperationId |
fromJournalProto(Journal.JournalOpPId opId)
Creates FsOpId from proto.
|
FsOpPId |
toFsProto() |
Journal.JournalOpPId |
toJournalProto() |
public OperationId(Long leastSignificant, Long mostSignificant)
leastSignificant
- the least significant bitsmostSignificant
- the most significant bitspublic OperationId(UUID guid)
guid
- the guidpublic FsOpPId toFsProto()
public Journal.JournalOpPId toJournalProto()
public static OperationId fromFsProto(FsOpPId opId)
opId
- proto op idpublic static OperationId fromJournalProto(Journal.JournalOpPId opId)
opId
- proto op idCopyright © 2023. All Rights Reserved.