]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: add ObjectCachingEntry class to config_store.py
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 13 May 2024 20:29:22 +0000 (16:29 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Sat, 6 Jul 2024 14:00:18 +0000 (10:00 -0400)
commitd28d0c41c73530b3fade7967c0fe458762d36443
tree238067b16974fb7506ebfb7a47785a0b1333dc7d
parent2d35e4cfda6963f523aff0effa4f724bac4a369d
mgr/smb: add ObjectCachingEntry class to config_store.py

Add a general store entry class that caches objects so that if an
object needs to be "gotten" from the store multiple times we may
avoid actually calling the store entry get method. This will be
used by a future function for finding particular items in a store.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/config_store.py