Class: Gitlab::GithubImport::Importer::SingleEndpointIssueNotesImporter
- Inherits:
-
Object
- Object
- Gitlab::GithubImport::Importer::SingleEndpointIssueNotesImporter
- Includes:
- ParallelScheduling, SingleEndpointNotesImporting
- Defined in:
- lib/gitlab/github_import/importer/single_endpoint_issue_notes_importer.rb
Constant Summary
Constants included from SingleEndpointNotesImporting
SingleEndpointNotesImporting::BATCH_SIZE
Constants included from ParallelScheduling
ParallelScheduling::ALREADY_IMPORTED_CACHE_KEY, ParallelScheduling::JOB_WAITER_CACHE_KEY, ParallelScheduling::JOB_WAITER_REMAINING_CACHE_KEY
Instance Attribute Summary
Attributes included from ParallelScheduling
#already_imported_cache_key, #client, #job_waiter_cache_key, #job_waiter_remaining_cache_key, #page_counter, #project
Instance Method Summary collapse
- #collection_method ⇒ Object
- #importer_class ⇒ Object
- #object_type ⇒ Object
- #representation_class ⇒ Object
- #sidekiq_worker_class ⇒ Object
Methods included from SingleEndpointNotesImporting
#each_object_to_import, #id_for_already_imported_cache
Methods included from ParallelScheduling
#abort_on_failure, #already_imported?, #collection_options, #each_object_to_import, #execute, #id_for_already_imported_cache, #increment_object_counter?, #initialize, #mark_as_imported, #parallel?, #parallel_import, #sequential_import, #spread_parallel_import
Methods included from JobDelayCalculator
Instance Method Details
#collection_method ⇒ Object
34 35 36 |
# File 'lib/gitlab/github_import/importer/single_endpoint_issue_notes_importer.rb', line 34 def collection_method :issue_comments end |
#importer_class ⇒ Object
18 19 20 |
# File 'lib/gitlab/github_import/importer/single_endpoint_issue_notes_importer.rb', line 18 def importer_class NoteImporter end |
#object_type ⇒ Object
30 31 32 |
# File 'lib/gitlab/github_import/importer/single_endpoint_issue_notes_importer.rb', line 30 def object_type :note end |
#representation_class ⇒ Object
22 23 24 |
# File 'lib/gitlab/github_import/importer/single_endpoint_issue_notes_importer.rb', line 22 def representation_class Representation::Note end |
#sidekiq_worker_class ⇒ Object
26 27 28 |
# File 'lib/gitlab/github_import/importer/single_endpoint_issue_notes_importer.rb', line 26 def sidekiq_worker_class ImportNoteWorker end |