5 #ifndef CVMFS_INGESTION_PIPELINE_H_
6 #define CVMFS_INGESTION_PIPELINE_H_
20 class AbstractUploader;
21 struct SpoolerDefinition;
161 #endif // CVMFS_INGESTION_PIPELINE_H_
static const unsigned kNforkScrubbingCallback
upload::AbstractUploader * uploader_
TubeConsumerGroup< BlockItem > tasks_chunk_
void OnFileProcessed(const upload::SpoolerResult &spooler_result)
Tube< FileItem > tube_ctr_inflight_post_
Tube< FileItem > tube_ctr_inflight_pre_
static const unsigned kNforkHash
Tube< FileItem > tube_counter_
ItemAllocator item_allocator_
virtual void Process(BlockItem *block_item)
static const unsigned kNforkChunk
void Process(IngestionSource *source, bool allow_chunking, shash::Suffix hash_suffix=shash::kSuffixNone)
static const unsigned kNforkRead
TubeConsumerGroup< BlockItem > tasks_compress_
TubeGroup< BlockItem > tubes_compress_
TubeGroup< BlockItem > tubes_scrubbing_callback_
void Process(IngestionSource *source, shash::Algorithms hash_algorithm, shash::Suffix hash_suffix)
TubeGroup< BlockItem > tubes_chunk_
const size_t average_chunk_size_
ItemAllocator item_allocator_
static const unsigned kMaxFilesInFlight
TubeGroup< BlockItem > tubes_hash_
TaskScrubbingCallback(Tube< BlockItem > *tube_in, Tube< FileItem > *tube_counter)
static const uint64_t kMaxPipelineMem
Tube< FileItem > * tube_counter_
static const unsigned kNforkRegister
ScrubbingResult(const std::string &p, const shash::Any &h)
TubeGroup< BlockItem > tubes_write_
static const unsigned kNforkHash
const shash::Algorithms hash_algorithm_
Tube< FileItem > tube_input_
TubeGroup< BlockItem > tubes_hash_
const size_t maximal_chunk_size_
TubeConsumerGroup< BlockItem > tasks_hash_
TubeConsumerGroup< FileItem > tasks_register_
static const uint64_t kMemHighWatermark
IngestionPipeline(upload::AbstractUploader *uploader, const upload::SpoolerDefinition &spooler_definition)
static const unsigned kNforkChunk
TubeGroup< BlockItem > tubes_chunk_
static const uint64_t kMemLowWatermark
void OnFileProcessed(const ScrubbingResult &scrubbing_result)
const bool chunking_enabled_
static const unsigned kNforkRead
TubeConsumerGroup< FileItem > tasks_read_
TubeConsumerGroup< FileItem > tasks_read_
TubeConsumerGroup< BlockItem > tasks_chunk_
static const unsigned kNforkCompress
TubeConsumerGroup< BlockItem > tasks_scrubbing_callback_
TubeConsumerGroup< BlockItem > tasks_hash_
Tube< FileItem > tube_input_
TubeConsumerGroup< BlockItem > tasks_write_
static const unsigned kNforkWrite
static const unsigned kMaxFilesInFlight
TubeGroup< FileItem > tubes_register_
const zlib::Algorithms compression_algorithm_
const size_t minimal_chunk_size_
const bool generate_legacy_bulk_chunks_