RestoreEngine

constructor(engine: SyncEngine, storage: CloudStorage, recordStore: RestoreRecordStore, placement: RestorePlacement = RestorePlacement.KeepDownloaded, clock: () -> Long = { Clock.System.now().toEpochMilliseconds() }, maxAttempts: Int = 3, newRunId: () -> String = { Random.nextLong().toULong().toString(radix = 16) })(source)