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

Method Connection

libminifi/src/Connection.cpp:41–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39namespace minifi {
40
41Connection::Connection(const std::shared_ptr<core::Repository> &flow_repository, const std::shared_ptr<core::ContentRepository> &content_repo, std::string name)
42 : core::Connectable(name),
43 flow_repository_(flow_repository),
44 content_repo_(content_repo),
45 logger_(logging::LoggerFactory<Connection>::getLogger()) {
46 source_connectable_ = nullptr;
47 dest_connectable_ = nullptr;
48 max_queue_size_ = 0;
49 max_data_queue_size_ = 0;
50 expired_duration_ = 0;
51 queued_data_size_ = 0;
52 drop_empty_ = false;
53
54 logger_->log_debug("Connection %s created", name_);
55}
56
57Connection::Connection(const std::shared_ptr<core::Repository> &flow_repository, const std::shared_ptr<core::ContentRepository> &content_repo, std::string name, const utils::Identifier& uuid)
58 : core::Connectable(name, uuid),

Callers

nothing calls this directly

Calls 1

log_debugMethod · 0.80

Tested by

no test coverage detected