From: Tomek Mrugalski Date: Fri, 19 Jun 2015 16:44:46 +0000 (+0200) Subject: [master] Forgotten cleanup for 3800: remove tabs. X-Git-Tag: trac3910_base~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6efd66dcdadc7825989fae09cd57d24ef5a4e638;p=thirdparty%2Fkea.git [master] Forgotten cleanup for 3800: remove tabs. --- diff --git a/doc/guide/stats.xml b/doc/guide/stats.xml index 91d0613a5f..b94659b1d0 100644 --- a/doc/guide/stats.xml +++ b/doc/guide/stats.xml @@ -27,24 +27,24 @@ There are four types of statistics: - integer - this is the most common type. It - is implemented as 64 bit integer (int64_t in C++), so it can hold any - value between -2^63 to 2^63 -1. + integer - this is the most common type. It + is implemented as 64 bit integer (int64_t in C++), so it can hold any + value between -2^63 to 2^63 -1. - floating point - this type is intended to - store floating point precision. It is implemented as double C++ type. - + floating point - this type is intended to + store floating point precision. It is implemented as double C++ type. + - duration - this type is intended for - recording time periods. It uses boost::posix_time::time_duration type, - which stores hours, minutes, seconds and microseconds. + duration - this type is intended for + recording time periods. It uses boost::posix_time::time_duration type, + which stores hours, minutes, seconds and microseconds. - string - this type is intended for - recording statistics in textual forma. It uses std::string C++ type. - + string - this type is intended for + recording statistics in textual forma. It uses std::string C++ type. + @@ -118,25 +118,25 @@ statistic-get command - statistic-get command retrieves a single - statistic. It takes a single string parameter called - name that specifies the statistic name. An example - command may look like this: + statistic-get command retrieves a single + statistic. It takes a single string parameter called + name that specifies the statistic name. An example + command may look like this: { "command": "statistic-get", "arguments": { - "name": "pkt4-received" + "name": "pkt4-received" } } - The server will respond with details of the requested statistic, with result - set to 0 indicating success and the specified statistic as the value of - "arguments" parameter. If the requested statistic is not found, the response - will contain an empty map, i.e. only { } as argument, but the status - code will still be set to success (0). + The server will respond with details of the requested statistic, with result + set to 0 indicating success and the specified statistic as the value of + "arguments" parameter. If the requested statistic is not found, the response + will contain an empty map, i.e. only { } as argument, but the status + code will still be set to success (0). @@ -144,26 +144,26 @@ statistic-reset command - statistic-reset command sets the specified statistic - to its neutral value: 0 for integer, 0.0 for float, 0h0m0s0us for time - duration and "" for string type. It takes a single string parameter - called name that specifies the statistic name. An - example command may look like this: + statistic-reset command sets the specified statistic + to its neutral value: 0 for integer, 0.0 for float, 0h0m0s0us for time + duration and "" for string type. It takes a single string parameter + called name that specifies the statistic name. An + example command may look like this: { "command": "statistic-reset", "arguments": { - "name": "pkt4-received" + "name": "pkt4-received" } } - If the specific statistic is found and reset was successful, the - server will respond with a status of 0, indicating success and an empty - parameters field. If an error is encountered (e.g. requested statistic - was not found), the server will return a status code of 1 (error) - and the text field will contain the error description. + If the specific statistic is found and reset was successful, the + server will respond with a status of 0, indicating success and an empty + parameters field. If an error is encountered (e.g. requested statistic + was not found), the server will return a status code of 1 (error) + and the text field will contain the error description. @@ -171,25 +171,25 @@ statistic-remove command - statistic-remove command attempts to delete a single - statistic. It takes a single string parameter called - name that specifies the statistic name. An example - command may look like this: + statistic-remove command attempts to delete a single + statistic. It takes a single string parameter called + name that specifies the statistic name. An example + command may look like this: { "command": "statistic-remove", "arguments": { - "name": "pkt4-received" + "name": "pkt4-received" } } - If the specific statistic is found and its removal was successful, the - server will respond with a status of 0, indicating success and an empty - parameters field. If an error is encountered (e.g. requested statistic - was not found), the server will return a status code of 1 (error) - and the text field will contain the error description. + If the specific statistic is found and its removal was successful, the + server will respond with a status of 0, indicating success and an empty + parameters field. If an error is encountered (e.g. requested statistic + was not found), the server will return a status code of 1 (error) + and the text field will contain the error description. @@ -197,7 +197,7 @@ statistic-get-all command - statistic-get-all command retrieves all statistics + statistic-get-all command retrieves all statistics recorded. An example command may look like this: { @@ -207,9 +207,9 @@ - The server will respond with details of all recorded statistics, with result - set to 0 indicating that it iterated over all statistics (even when - the total number of statistics is zero). + The server will respond with details of all recorded statistics, with result + set to 0 indicating that it iterated over all statistics (even when + the total number of statistics is zero). @@ -217,9 +217,9 @@ statistic-reset-all command - statistic-reset command sets all statistics to - their neutral values: 0 for integer, 0.0 for float, 0h0m0s0us for time - duration and "" for string type. An example command may look like this: + statistic-reset command sets all statistics to + their neutral values: 0 for integer, 0.0 for float, 0h0m0s0us for time + duration and "" for string type. An example command may look like this: { "command": "statistic-reset-all", @@ -228,10 +228,10 @@ - If the operation is successful, the server will respond with a status of - 0, indicating success and an empty parameters field. If an error is - encountered, the server will return a status code of 1 (error) and the text - field will contain the error description. + If the operation is successful, the server will respond with a status of + 0, indicating success and an empty parameters field. If an error is + encountered, the server will return a status code of 1 (error) and the text + field will contain the error description. @@ -239,8 +239,8 @@ statistic-remove-all command - statistic-remove-all command attempts to delete all - statistics. An example command may look like this: + statistic-remove-all command attempts to delete all + statistics. An example command may look like this: { "command": "statistic-remove-all", @@ -249,10 +249,10 @@ - If the removal of all statistics was successful, the server will respond - with a status of 0, indicating success and an empty parameters field. If - an error is encountered, the server will return a status code of 1 (error) - and the text field will contain the error description. + If the removal of all statistics was successful, the server will respond + with a status of 0, indicating success and an empty parameters field. If + an error is encountered, the server will return a status code of 1 (error) + and the text field will contain the error description.