commit 9ce5ef3536152a24af949899cd1787dacc994f37
Author: Jakub Libosvar <email address hidden>
Date: Tue Feb 11 15:59:06 2014 +0100
Common decorator for caching methods
Decorator caches methods' results, the key is composed from function
name and its parameters. Implementation of cache itself should be in
object implementing decorated method. Cache backend should be taken
from oslo-incubator.
Related-Bug: #1276440
Conflicts:
neutron/common/utils.py
Change-Id: Ibe3f1b2eb10b9601ad76ec24b7f0e3551b4013e2
(cherry picked from commit 7508170498949818aed02ba0fd9b7f861e596320)
Reviewed: https:/ /review. openstack. org/95490 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9ce5ef35361 52a24af949899cd 1787dacc994f37
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 9ce5ef3536152a2 4af949899cd1787 dacc994f37
Author: Jakub Libosvar <email address hidden>
Date: Tue Feb 11 15:59:06 2014 +0100
Common decorator for caching methods
Decorator caches methods' results, the key is composed from function
name and its parameters. Implementation of cache itself should be in
object implementing decorated method. Cache backend should be taken
from oslo-incubator.
Related-Bug: #1276440
Conflicts: common/ utils.py
neutron/
Change-Id: Ibe3f1b2eb10b96 01ad76ec24b7f0e 3551b4013e2 8aed02ba0fd9b7f 861e596320)
(cherry picked from commit 750817049894981