Class OfferSyncProcess
java.lang.Object
fr.gouv.vitam.storage.engine.server.offersynchronization.OfferSyncProcess
Synchronization of a storage offer from another one.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOfferSyncProcess
(RestoreOfferBackupService restoreOfferBackupService, StorageDistribution distribution, int bulkSize, int offerSyncNumberOfRetries, int offerSyncFirstAttemptWaitingTime, int offerSyncWaitingTime, int accessRequestCheckWaitingTime) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
synchronize
(Executor executor, String sourceOffer, String targetOffer, String strategyId, List<OfferPartialSyncItem> items) void
synchronize
(ExecutorService executor, String sourceOffer, String targetOffer, String strategyId, DataCategory dataCategory, Long startOffset)
-
Field Details
-
OFFER_SYNC_ORIGIN
- See Also:
-
-
Constructor Details
-
OfferSyncProcess
public OfferSyncProcess(RestoreOfferBackupService restoreOfferBackupService, StorageDistribution distribution, int bulkSize, int offerSyncNumberOfRetries, int offerSyncFirstAttemptWaitingTime, int offerSyncWaitingTime, int accessRequestCheckWaitingTime)
-
-
Method Details
-
synchronize
public void synchronize(ExecutorService executor, String sourceOffer, String targetOffer, String strategyId, DataCategory dataCategory, Long startOffset) -
isRunning
public boolean isRunning() -
getOfferSyncStatus
-
synchronize
-