Package-level declarations
Types
Link copied to clipboard
Responsible for fetching events from a remote source, orchestrating between events missed since the last time we gathered events and new events being received in real time.
Link copied to clipboard
internal class EventGathererImpl(eventRepository: EventRepository, incrementalSyncRepository: IncrementalSyncRepository, serverTimeHandler: ServerTimeHandler = ServerTimeHandlerImpl(), logger: <Error class: unknown class> = kaliumLogger) : EventGatherer
Link copied to clipboard
In-memory event storage, used to check if an event was already dealt with and avoid duplication. i.e. present in both pending and live sources.
Link copied to clipboard
Handles incoming events from remote.
Link copied to clipboard
internal class EventProcessorImpl(eventRepository: EventRepository, conversationEventReceiver: ConversationEventReceiver, userEventReceiver: UserEventReceiver, teamEventReceiver: TeamEventReceiver, featureConfigEventReceiver: FeatureConfigEventReceiver, userPropertiesEventReceiver: UserPropertiesEventReceiver, federationEventReceiver: FederationEventReceiver, processingScope: <Error class: unknown class>, logger: <Error class: unknown class> = kaliumLogger) : EventProcessor
Link copied to clipboard
Informs where an event came from.
Link copied to clipboard
internal class IncrementalSyncManager(slowSyncRepository: SlowSyncRepository, incrementalSyncWorker: IncrementalSyncWorker, incrementalSyncRepository: IncrementalSyncRepository, incrementalSyncRecoveryHandler: IncrementalSyncRecoveryHandler, networkStateObserver: <Error class: unknown class>, logger: <Error class: unknown class> = kaliumLogger, kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl, exponentialDurationHelper: ExponentialDurationHelper = ExponentialDurationHelperImpl(
MIN_RETRY_DELAY,
MAX_RETRY_DELAY
))
Starts and Stops Incremental Sync once SlowSync is performed.
Link copied to clipboard
Represents a handler for recovering from incremental sync.
Link copied to clipboard
internal class IncrementalSyncRecoveryHandlerImpl(restartSlowSyncProcessForRecoveryUseCase: RestartSlowSyncProcessForRecoveryUseCase, eventRepository: EventRepository, logger: <Error class: unknown class> = kaliumLogger) : IncrementalSyncRecoveryHandler
Implementation of the IncrementalSyncRecoveryHandler interface.
Link copied to clipboard
interface IncrementalSyncWorker
Gathers and processes IncrementalSync events.
Link copied to clipboard
internal class IncrementalSyncWorkerImpl(eventGatherer: EventGatherer, eventProcessor: EventProcessor, logger: <Error class: unknown class> = kaliumLogger) : IncrementalSyncWorker
Link copied to clipboard