@Service @Primary public class BackupService extends Object implements IBackupService, Serializable
| 构造器和说明 |
|---|
BackupService() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
backup(Collection<BackupItem> backupItems)
将备份项序列化
|
Map<String,List<BackupItem>> |
getAllBackupItems()
获得系统中所有的备份项
|
void |
restore(Collection<BackupItem> backupItems)
将备份项反序列化
|
Backup |
unBackup(byte[] bytes)
将备份项反序列化
|
public Map<String,List<BackupItem>> getAllBackupItems()
IBackupServicegetAllBackupItems 在接口中 IBackupServicepublic byte[] backup(Collection<BackupItem> backupItems)
IBackupServicebackup 在接口中 IBackupServicepublic void restore(Collection<BackupItem> backupItems)
IBackupServicerestore 在接口中 IBackupServicepublic Backup unBackup(byte[] bytes)
IBackupServiceunBackup 在接口中 IBackupServiceCopyright © 2019. All rights reserved.