diff options
author | Francis Dupont <fdupont@isc.org> | 2020-04-05 09:44:42 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2020-04-23 23:23:18 +0200 |
commit | f776e6b807e8e67e6b18006cda52ae6f7c8c1953 (patch) | |
tree | f43db61779e98a255369aa4c973b7ee83483923e /src/lib/stats | |
parent | [#816] Added global cumulative assigned stats (diff) | |
download | kea-f776e6b807e8e67e6b18006cda52ae6f7c8c1953.tar.xz kea-f776e6b807e8e67e6b18006cda52ae6f7c8c1953.zip |
[#816] Made getObservation usable to check existence
Diffstat (limited to 'src/lib/stats')
-rw-r--r-- | src/lib/stats/stats_mgr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/stats/stats_mgr.h b/src/lib/stats/stats_mgr.h index 66f1c89c2b..49ab17ca7e 100644 --- a/src/lib/stats/stats_mgr.h +++ b/src/lib/stats/stats_mgr.h @@ -246,7 +246,8 @@ public: /// @brief Returns an observation. /// - /// Used in testing only. Production code should use @ref get() method. + /// Used in testing only. Production code should use @ref get() method + /// when the value is dereferenced. /// Calls @ref getObservationInternal() method in a thread safe context. /// /// @param name name of the statistic @@ -255,8 +256,8 @@ public: /// @brief Returns an observation in a thread safe context. /// - /// Used in testing only. Production code should use @ref get() method. - /// Should be called in a thread safe context. + /// Used in testing only. Production code should use @ref get() method + /// when the value is dereferenced. Should be called in a thread safe context. /// /// @param name name of the statistic /// @return Pointer to the Observation object |