你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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