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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java