Package-level declarations
Types
Link copied to clipboard
class CloseStreamTask(syncManager: SyncManager, val streamDescriptor: DestinationStream.Descriptor, taskLauncher: DestinationTaskLauncher) : Task
Link copied to clipboard
Link copied to clipboard
class FailStreamTask(taskLauncher: DestinationTaskLauncher, exception: Exception, syncManager: SyncManager, stream: DestinationStream.Descriptor, shouldRunStreamLoaderClose: Boolean) : Task
Link copied to clipboard
Link copied to clipboard
class FailSyncTask(taskLauncher: DestinationTaskLauncher, destinationWriter: DestinationWriter, exception: Exception, syncManager: SyncManager, checkpointManager: CheckpointManager) : Task
FailSyncTask is a task that is executed only when the destination itself fails during a sync. If the sync is failed by upstream (e.g. an incomplete stream message is received), we do not call this task. It is responsible for cleaning up resources and reporting the failure.
Link copied to clipboard
@Singleton
Link copied to clipboard
@Singleton
Consumes DestinationStreams from the openStreamQueue, creates/starts a StreamLoader for each, and registers it with the SyncManager.
Link copied to clipboard
Wraps @DestinationWriter.setup and starts the open stream tasks.
Link copied to clipboard
Link copied to clipboard
class TeardownTask(checkpointManager: CheckpointManager, syncManager: SyncManager, destination: DestinationWriter, taskLauncher: DestinationTaskLauncher) : Task
Wraps @DestinationWriter.teardown and stops the task launcher.
Link copied to clipboard
@Singleton