BackupVersion Class

  • java.lang.Object
    • microsoft.servicefabric.data.BackupVersion

public class BackupVersion

Field Summary

Modifier and Type Field and Description
final BackupVersion invalidBackupVersion

Invalid Backup Version.

Constructor Summary

Constructor Description
BackupVersion(Epoch epoch, long lsn)

Creates instance of BackupVersion

Method Summary

Modifier and Type Method and Description
Epoch getEpoch()

Epoch at which the backup was taken.

long getLsn()

Last committed logical sequence number included in the backup.

Field Details

invalidBackupVersion

public static final BackupVersion invalidBackupVersion= new BackupVersion(new Epoch(-1, -1), -1)

Invalid Backup Version.

Constructor Details

BackupVersion

public BackupVersion(Epoch epoch, long lsn)

Creates instance of BackupVersion

Parameters:

epoch - Epoch at which the backup was taken.
lsn - Last committed logical sequence number included in the backup.

Method Details

getEpoch

public Epoch getEpoch()

Epoch at which the backup was taken.

Returns:

The epoch.

getLsn

public long getLsn()

Last committed logical sequence number included in the backup.

Returns:

The lsn.

Applies to