@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()
IBackupService
getAllBackupItems
在接口中 IBackupService
public byte[] backup(Collection<BackupItem> backupItems)
IBackupService
backup
在接口中 IBackupService
public void restore(Collection<BackupItem> backupItems)
IBackupService
restore
在接口中 IBackupService
public Backup unBackup(byte[] bytes)
IBackupService
unBackup
在接口中 IBackupService
Copyright © 2019. All rights reserved.