SequenceNumber Class
- java.
lang. Object - system.
fabric. SequenceNumber
- system.
public class SequenceNumber
Long, represents the last sequence number (LSN) of the operation.
Constructor Summary
Constructor | Description |
---|---|
SequenceNumber() |
Creates an instance of system.fabric.SequenceNumber with default LSN value as 0. |
SequenceNumber(long sequenceNumber) |
Creates an instance of system.fabric.SequenceNumber |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getSequenceNumber()
Get the sequence number value. |
void |
setSequenceNumber(long sequenceNumber)
Set the sequence number value for the LSN |
Constructor Details
SequenceNumber
public SequenceNumber()
Creates an instance of system.fabric.SequenceNumber with default LSN value as 0.
SequenceNumber
public SequenceNumber(long sequenceNumber)
Creates an instance of system.fabric.SequenceNumber
Parameters:
Method Details
getSequenceNumber
public long getSequenceNumber()
Get the sequence number value.
Returns:
setSequenceNumber
public void setSequenceNumber(long sequenceNumber)
Set the sequence number value for the LSN
Parameters:
Applies to
Azure SDK for Java