/// @return true if successful, false if there's no such statistic
/// Example:
/// To set a statistic to keep observations for the last 5 minutes, call:
- /// setMaxSampleAge~("incoming-packets", time_duration(0, 5, 0, 0));
+ /// setMaxSampleAge("incoming-packets", time_duration(0, 5, 0, 0));
/// to revert statistic to a single value, call:
/// setMaxSampleAge("incoming-packets", time_duration(0, 0, 0, 0));
bool setMaxSampleAge(const std::string& name, const StatsDuration& duration);