Template Class TimedSourceRegistry

Class Documentation

template<typename SourceT>
class TimedSourceRegistry

Public Types

using SourceSharedPtr = std::shared_ptr<SourceT>

Public Functions

inline bool has(const std::string &topic) const
inline void emplace(SourceSharedPtr source)
inline size_t prune(int64_t now_ns, int64_t ttl_ns)