|
@@ -308,8 +308,7 @@ public:
|
|
|
/// is shutdown.
|
|
|
void setStatisticsSession(isc::cc::AbstractSession* statistics_session);
|
|
|
|
|
|
- /// Return the interval of periodic submission of statistics in
|
|
|
- /// milliseconds.
|
|
|
+ /// Return the interval of periodic submission of statistics in seconds.
|
|
|
///
|
|
|
/// If the statistics submission is disabled, it returns 0.
|
|
|
///
|
|
@@ -319,15 +318,16 @@ public:
|
|
|
/// Set the interval of periodic submission of statistics.
|
|
|
///
|
|
|
/// If the specified value is non 0, the \c AuthSrv object will submit
|
|
|
- /// its statistics to the statistics module every \c interval milliseconds.
|
|
|
+ /// its statistics to the statistics module every \c interval seconds.
|
|
|
/// If it's 0, and \c AuthSrv currently submits statistics, the submission
|
|
|
- /// will be disabled.
|
|
|
+ /// will be disabled. \c interval must be equal to or shorter than 86400
|
|
|
+ /// seconds (1 day).
|
|
|
///
|
|
|
/// This method should normally not throw an exception; however, its
|
|
|
/// underlying library routines may involve resource allocation, and
|
|
|
/// when it fails it would result in a corresponding standard exception.
|
|
|
///
|
|
|
- /// \param interval The submission interval in milliseconds if non 0;
|
|
|
+ /// \param interval The submission interval in seconds if non 0;
|
|
|
/// or a value of 0 to disable the submission.
|
|
|
void setStatisticsTimerInterval(uint32_t interval);
|
|
|
|