Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface RestartSlowSyncProcessForRecoveryUseCase
Restart slowSync process for recovery.
Link copied to clipboard
class RestartSlowSyncProcessForRecoveryUseCaseImpl(slowSyncRepository: SlowSyncRepository) : RestartSlowSyncProcessForRecoveryUseCase
Link copied to clipboard
internal class SlowSlowSyncCriteriaProviderImpl(clientRepository: ClientRepository, logoutRepository: LogoutRepository) : SlowSyncCriteriaProvider
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
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
A signal that represents the resolution of all the needed for sync to happen.