Change in vdsm[master]: virt: add ExpiringCache
danken at redhat.com
danken at redhat.com
Wed Feb 11 21:09:53 UTC 2015
Dan Kenigsberg has submitted this change and it was merged.
Change subject: virt: add ExpiringCache
......................................................................
virt: add ExpiringCache
ExpiringCache is a simple cache with expiring time attached
to keys. This class implements parts of the dict() interface,
but do not aims to be a full replacement for dict()s.
ExpiringCache is thread safe.
Change-Id: I51e38cea6a23b7abe2375780e6ece0ff90831b6d
Signed-off-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/36716
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/Makefile.am
A tests/vmUtilsTests.py
M vdsm/virt/utils.py
3 files changed, 161 insertions(+), 0 deletions(-)
Approvals:
Nir Soffer: Looks good to me, but someone else must approve
Dan Kenigsberg: Looks good to me, approved
Francesco Romani: Verified
--
To view, visit http://gerrit.ovirt.org/36716
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I51e38cea6a23b7abe2375780e6ece0ff90831b6d
Gerrit-PatchSet: 12
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the vdsm-patches
mailing list