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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for Java