class OfferSyncService implements AutoCloseable {

    public OfferSyncStatus getLastSynchronizationStatus() {
        OfferSyncProcess offerSyncProcess = lastOfferSyncService.get();
        if (offerSyncProcess == null) {
            return null;
        } else {
            return offerSyncProcess.getOfferSyncStatus();
        }
    }

    public  OfferSyncService(StorageDistribution distribution, StorageConfiguration storageConfiguration);
    @VisibleForTesting  OfferSyncService(
        RestoreOfferBackupService restoreOfferBackupService,
        StorageDistribution distribution, int bulkSize, int offerSyncThreadPoolSize, int offerSyncNumberOfRetries,
        int offerSyncFirstAttemptWaitingTime, int offerSyncWaitingTime);

}