Changed some comments and docs in DictCacheBackend

All changes are based on comments
from Ie3e6c8a3671bc28bfd6967e8758c1419c3c8d501

TrivialFix

Co-Authored-By: Pavel Kholkin <pkholkin@mirantis.com>

Change-Id: I2fb44c736d3c15edab5c41ba99e73daed38f7258
This commit is contained in:
Sergey Nikitin 2015-07-08 10:30:23 +03:00
parent 4b0cac8fb6
commit de4b2848e0
2 changed files with 7 additions and 7 deletions

View File

@ -8,6 +8,9 @@
.. automodule:: oslo_cache.exception
:members:
.. automodule:: oslo_cache.backends.dictionary
:members:
.. automodule:: oslo_cache.backends.memcache_pool
:members:
@ -16,6 +19,3 @@
.. automodule:: oslo_cache.backends.noop
:members:
.. automodule:: oslo_cache.backends.dictionary
:members:

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
"""dogpile.cache backend that uses dictionary as a storage"""
"""dogpile.cache backend that uses dictionary for storage"""
from dogpile.cache import api
from oslo_utils import timeutils
@ -32,9 +32,9 @@ class DictCacheBackend(api.CacheBackend):
Arguments accepted in the arguments dictionary:
:param expiration_time: interval in seconds to indicate maximum
time-to-live value. This parameter is common for a single backend
instance. Default expiration_time value is 0, that means that all keys
have infinite time-to-live value.
time-to-live value for each key in DictCacheBackend.
Default expiration_time value is 0, that means that all keys have
infinite time-to-live value.
:type expiration_time: real
"""