fw: use dead Nonce list in pipelines
refs #1953
Change-Id: I0faef2a985b03fe96387c2e0181588713550b9ce
diff --git a/daemon/table/dead-nonce-list.hpp b/daemon/table/dead-nonce-list.hpp
index ad2e0ad..1c7f7cc 100644
--- a/daemon/table/dead-nonce-list.hpp
+++ b/daemon/table/dead-nonce-list.hpp
@@ -83,6 +83,11 @@
size_t
size() const;
+ /** \return expected lifetime
+ */
+ const time::nanoseconds&
+ getLifetime() const;
+
private: // Entry and Index
typedef uint64_t Entry;
@@ -206,6 +211,12 @@
static const size_t EVICT_LIMIT;
};
+inline const time::nanoseconds&
+DeadNonceList::getLifetime() const
+{
+ return m_lifetime;
+}
+
} // namespace nfd
#endif // NFD_DAEMON_TABLE_DEAD_NONCE_LIST_HPP