MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / getNewFlowFiles

Method getNewFlowFiles

extensions/libarchive/BinFiles.cpp:361–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361std::unordered_set<std::shared_ptr<core::FlowFile>> BinFiles::FlowFileStore::getNewFlowFiles() {
362 bool hasNewFlowFiles = true;
363 if (!has_new_flow_file_.compare_exchange_strong(hasNewFlowFiles, false, std::memory_order_acquire, std::memory_order_relaxed)) {
364 return {};
365 }
366 std::lock_guard<std::mutex> guard(flow_file_mutex_);
367 return std::move(incoming_files_);
368}
369
370std::set<std::shared_ptr<core::Connectable>> BinFiles::getOutGoingConnections(const std::string &relationship) const {
371 auto result = core::Connectable::getOutGoingConnections(relationship);

Callers 1

onTriggerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected