Browse Source

[2854] update doc for DataSrcClientsMgr on use_cache ctor parameter

it will now be used by memmgr, so there's at least one exception.
JINMEI Tatuya 12 years ago
parent
commit
0fa66c2662
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/lib/python/isc/server_common/datasrc_clients_mgr.py

+ 5 - 4
src/lib/python/isc/server_common/datasrc_clients_mgr.py

@@ -40,10 +40,11 @@ class DataSrcClientsMgr:
     def __init__(self, use_cache=False):
         """Constructor.
 
-        In the initial implementation, user applications of this class are
-        generally expected to NOT use in-memory cache; use_cache would be
-        set to True only for tests.  In future, some applications such as
-        outbound zone transfer may want to set it to True.
+        In the initial implementation, most user applications of this class
+        are generally expected to NOT use in-memory cache; the only expected
+        exception is the memory (cache) manager, which, by definition,
+        needs to deal with in-memory data.  In future, some more applications
+        such as outbound zone transfer may want to set it to True.
 
         Parameter:
           use_cache (bool): If set to True, enable in-memory cache on