]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2843] update documentation for _Statistics class which will be removed
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Jul 2013 08:14:41 +0000 (17:14 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Jul 2013 08:28:55 +0000 (17:28 +0900)
src/lib/python/isc/statistics/counters.py
src/lib/python/isc/statistics/dns.py

index fc5d763e3cad738b5f4955b7920a4736bd90ba59..87355be070239413be6776aebe2b7c07218a87d9 100644 (file)
@@ -152,7 +152,8 @@ def _concat(*args, sep='/'):
     return sep.join(args)
 
 class _Statistics():
-    """Statistics data set"""
+    """Statistics data set. This class will be remove in the future
+    release."""
     # default statistics data
     _data = {}
     # default statistics spec used in case the specfile is omitted when
@@ -182,7 +183,8 @@ class Counters():
         statistics spec can be accumulated if spec_file_name is
         specified. If omitted, a default statistics spec is used. The
         default statistics spec is defined in a hidden class named
-        _Statistics().
+        _Statistics(). But the hidden class won't be used and
+        spec_file_name will be required in the future release.
         """
         self._zones_item_list = []
         self._start_time = {}
index ff700f9b99d8f6e105b959bac78639b9768903cd..c224687e8a97801d531f6a82b398a4346da59b70 100644 (file)
@@ -70,7 +70,8 @@ import isc.config
 from isc.statistics import counters
 
 class _Statistics():
-    """Statistics data set"""
+    """Statistics data set. This class will be removed in the future
+    release."""
     # default statistics data
     _data = {}
     # default statistics spec used in case the specfile is omitted when