public class OfferSyncService extends Object
Constructor and Description |
---|
OfferSyncService(StorageDistribution distribution,
StorageConfiguration storageConfiguration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OfferSyncStatus |
getLastSynchronizationStatus() |
boolean |
isRunning() |
boolean |
startSynchronization(String sourceOffer,
String targetOffer,
String strategyId,
DataCategory dataCategory,
Long offset)
Synchronize an offer from another using the offset.
|
public OfferSyncService(StorageDistribution distribution, StorageConfiguration storageConfiguration)
public boolean startSynchronization(String sourceOffer, String targetOffer, String strategyId, DataCategory dataCategory, Long offset)
sourceOffer
- the identifier of the source offertargetOffer
- the identifier of the target offerstrategyId
- the identifier of the strategy containing the two offersoffset
- the offset of the process of the synchronisationpublic boolean isRunning()
public OfferSyncStatus getLastSynchronizationStatus()
Copyright © 2019 Vitam. All rights reserved.