16 std::vector<NodeInfo> getSubscribers(
const NodeData::Key &key);
18 void addKeySubscriber(NodeData::Key key,
NodeInfo &subscriber);
19 void removeKeySubscriber(
const NodeData::Key &key,
NodeInfo &unsubscriber);
21 bool isValueUpToDate(
const NodeData::Key &key, uint64_t validity_threshold_timestamp)
override;
23 bool isLocal()
const override;
26 std::unordered_map<NodeData::Key, std::vector<NodeInfo>> key_subscribers_;