public class OfferSyncServiceImpl extends Object implements OfferSyncService
Constructor and Description |
---|
OfferSyncServiceImpl(RestoreOfferBackupService restoreOfferBackupService,
StorageDistribution distribution)
Constructor.
|
OfferSyncServiceImpl(StorageDistribution distribution)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OfferSyncResponseItem |
synchronize(String sourceOffer,
String destinationOffer,
String containerToSync,
Integer tenantIdToSync,
Long offset)
Synchronize an offer from anthor using the offset.
|
public OfferSyncServiceImpl(StorageDistribution distribution)
distribution
- public OfferSyncServiceImpl(RestoreOfferBackupService restoreOfferBackupService, StorageDistribution distribution)
restoreOfferBackupService
- distribution
- public OfferSyncResponseItem synchronize(String sourceOffer, String destinationOffer, String containerToSync, Integer tenantIdToSync, Long offset) throws VitamSyncException
synchronize
in interface OfferSyncService
sourceOffer
- the identifer of the source offerdestinationOffer
- the identifier of the destination offeroffset
- the offset of the process of the synchronisationcontainerToSync
- containerToSynctenantIdToSync
- @return OfferSync responseVitamSyncException
Copyright © 2018 Vitam. All rights reserved.