Class StorageLogAdministration
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.server.storagelog.StorageLogAdministration
-
public class StorageLogAdministration extends java.lang.Object
Business class for Storage Log Administration (backup)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STORAGE_ACCESS_BACKUP
static java.lang.String
STORAGE_WRITE_BACKUP
-
Constructor Summary
Constructors Constructor Description StorageLogAdministration(StorageLog storageLogService, StorageDistribution distribution, StorageConfiguration configuration)
StorageLogAdministration(StorageLog storageLogService, StorageDistribution distribution, StorageConfiguration configuration, WorkspaceClientFactory workspaceClientFactory, LogbookOperationsClientFactory logbookOperationsClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<StorageLogBackupResult>
backupStorageAccessLog(java.lang.String strategyId, java.util.List<java.lang.Integer> tenants)
java.util.List<StorageLogBackupResult>
backupStorageWriteLog(java.lang.String strategyId, java.util.List<java.lang.Integer> tenants)
-
-
-
Field Detail
-
STORAGE_WRITE_BACKUP
public static final java.lang.String STORAGE_WRITE_BACKUP
- See Also:
- Constant Field Values
-
STORAGE_ACCESS_BACKUP
public static final java.lang.String STORAGE_ACCESS_BACKUP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StorageLogAdministration
public StorageLogAdministration(StorageLog storageLogService, StorageDistribution distribution, StorageConfiguration configuration)
-
StorageLogAdministration
public StorageLogAdministration(StorageLog storageLogService, StorageDistribution distribution, StorageConfiguration configuration, WorkspaceClientFactory workspaceClientFactory, LogbookOperationsClientFactory logbookOperationsClientFactory)
-
-
Method Detail
-
backupStorageWriteLog
public java.util.List<StorageLogBackupResult> backupStorageWriteLog(java.lang.String strategyId, java.util.List<java.lang.Integer> tenants) throws StorageLogException
- Throws:
StorageLogException
-
backupStorageAccessLog
public java.util.List<StorageLogBackupResult> backupStorageAccessLog(java.lang.String strategyId, java.util.List<java.lang.Integer> tenants) throws StorageLogException
- Throws:
StorageLogException
-
-