Package-level declarations

Types

Link copied to clipboard
internal fun interface OnSlowSyncRetryCallback
Link copied to clipboard

Restart slowSync process for recovery.

Link copied to clipboard
Link copied to clipboard
internal interface SlowSyncCriteriaProvider

Ingests multiple signals across the logic module to signal if Sync should start or not.

Link copied to clipboard
internal class SlowSyncManager(slowSyncCriteriaProvider: SlowSyncCriteriaProvider, slowSyncRepository: SlowSyncRepository, slowSyncWorker: SlowSyncWorker, slowSyncRecoveryHandler: SlowSyncRecoveryHandler, networkStateObserver: <Error class: unknown class>, syncMigrationStepsProvider: () -> SyncMigrationStepsProvider, logger: <Error class: unknown class> = kaliumLogger, kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl, exponentialDurationHelper: ExponentialDurationHelper = ExponentialDurationHelperImpl( MIN_RETRY_DELAY, MAX_RETRY_DELAY ))

Starts and stops SlowSync based on a set of criteria, defined in SlowSyncCriteriaProvider. Once the criteria are met, this Manager will take care of running SlowSync.

Link copied to clipboard
interface SlowSyncParam
Link copied to clipboard
internal interface SlowSyncRecoveryHandler
Link copied to clipboard
Link copied to clipboard
internal interface SlowSyncWorker
Link copied to clipboard
internal class SlowSyncWorkerImpl(eventRepository: EventRepository, syncSelfUser: SyncSelfUserUseCase, syncFeatureConfigs: SyncFeatureConfigsUseCase, updateSupportedProtocols: UpdateSelfUserSupportedProtocolsUseCase, syncConversations: SyncConversationsUseCase, syncConnections: SyncConnectionsUseCase, syncSelfTeam: SyncSelfTeamUseCase, syncContacts: SyncContactsUseCase, joinMLSConversations: JoinExistingMLSConversationsUseCase, fetchLegalHoldForSelfUserFromRemoteUseCase: FetchLegalHoldForSelfUserFromRemoteUseCase, oneOnOneResolver: OneOnOneResolver, syncConversationFolders: SyncConversationFoldersUseCase, logger: <Error class: unknown class> = kaliumLogger) : SlowSyncWorker
Link copied to clipboard
internal interface SyncCriteriaResolution

A signal that represents the resolution of all the needed for sync to happen.