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

Method notifyWork

libminifi/src/core/Connectable.cpp:138–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void Connectable::notifyWork() {
139 // Do nothing if we are not event-driven
140 if (strategy_ != EVENT_DRIVEN) {
141 return;
142 }
143
144 {
145 has_work_.store(isWorkAvailable());
146
147 if (has_work_.load()) {
148 work_condition_.notify_one();
149 }
150 }
151}
152
153std::set<std::shared_ptr<Connectable>> Connectable::getOutGoingConnections(const std::string &relationship) const {
154 std::set<std::shared_ptr<Connectable>> empty;

Callers 2

putMethod · 0.80
multiPutMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected