你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RestoreDescription Class
- java.
lang. Object - microsoft.
servicefabric. data. RestoreDescription
- microsoft.
public class RestoreDescription
A RestoreDescription contains all of the information necessary to restore a stateful service replica.
Constructor Summary
Constructor | Description |
---|---|
RestoreDescription(String backupFolderPath) |
Initializes a new instance of the RestoreDescription structure |
RestoreDescription(String backupFolderPath, RestorePolicy restorePolicy) |
Initializes a new instance of the RestoreDescription structure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getBackupFolderPath()
Gets the directory which will be used to restore the replica's state. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.
Remarks:Folder must at least contain one full backup. In addition, it could include one or more incremental backups. |
Restore |
getRestorePolicy()
Gets the restore policy. |
Constructor Details
RestoreDescription
public RestoreDescription(String backupFolderPath)
Initializes a new instance of the RestoreDescription structure
Parameters:
RestoreDescription
public RestoreDescription(String backupFolderPath, RestorePolicy restorePolicy)
Initializes a new instance of the RestoreDescription structure
Parameters:
Method Details
getBackupFolderPath
public String getBackupFolderPath()
Gets the directory which will be used to restore the replica's state. This parameter cannot be null, empty, or consist only of whitespace. UNC paths may also be provided.
Remarks:Folder must at least contain one full backup. In addition, it could include one or more incremental backups.
Returns: