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

Method FlowFile

libminifi/src/core/FlowFile.cpp:39–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37std::shared_ptr<logging::Logger> FlowFile::logger_ = logging::LoggerFactory<FlowFile>::getLogger();
38
39FlowFile::FlowFile()
40 : CoreComponent("FlowFile"),
41 size_(0),
42 stored(false),
43 offset_(0),
44 last_queue_date_(0),
45 penaltyExpiration_ms_(0),
46 event_time_(0),
47 claim_(nullptr),
48 marked_delete_(false) {
49 id_ = numeric_id_generator_->generateId();
50 entry_date_ = utils::timeutils::getTimeMillis();
51 event_time_ = entry_date_;
52 lineage_start_date_ = entry_date_;
53}
54
55FlowFile& FlowFile::operator=(const FlowFile& other) {
56 uuid_ = other.uuid_;

Callers

nothing calls this directly

Calls 2

getTimeMillisFunction · 0.85
generateIdMethod · 0.45

Tested by

no test coverage detected