bool del(const std::string &name)
Attempts to delete an observation.
void clear()
Removes all observations.
void setMaxSampleAgeAll(const StatsDuration &duration)
Sets duration for all observations.
isc::data::ConstElementPtr getAll() const
Returns a map with all observations.
void add(const ObservationPtr &obs)
Adds a new observation.
void setMaxSampleCountAll(uint32_t max_samples)
Sets max sample count for all observations.
ObservationPtr get(const std::string &name) const
Attempts to get an observation.
size_t size()
Returns the number of observations.