BackupVersion Class
- java.
lang. Object - microsoft.
servicefabric. data. BackupVersion
- microsoft.
public class BackupVersion
Field Summary
Modifier and Type | Field and Description |
---|---|
final Backup |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java