SequenceNumber Class

  • java.lang.Object
    • system.fabric.SequenceNumber

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:

sequenceNumber - Long value for initialization.

Method Details

getSequenceNumber

public long getSequenceNumber()

Get the sequence number value.

Returns:

Long value of the sequence number.

setSequenceNumber

public void setSequenceNumber(long sequenceNumber)

Set the sequence number value for the LSN

Parameters:

sequenceNumber - Takes long value as parameter.

Applies to