summaryrefslogtreecommitdiffstats
path: root/chassishandler.cpp
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-03-15 17:09:28 -0700
committerWilliam A. Kennington III <wak@google.com>2018-04-02 23:35:10 +0000
commite47fdfb5d79a32075ec10f5549c07a2e8310079f (patch)
tree1ce29b8f9b6a0ef219c42fe28dcf216c235288b5 /chassishandler.cpp
parent25bc7ac647ce216b1d6a4f4dcb55beadb064ced6 (diff)
downloadphosphor-host-ipmid-e47fdfb5d79a32075ec10f5549c07a2e8310079f.tar.gz
phosphor-host-ipmid-e47fdfb5d79a32075ec10f5549c07a2e8310079f.zip
utils: Add a class to cache service lookups
Currently we are doing interface + path -> service lookups for each ipmi command sent to the daemon. For many types of commands this is not ideal as the daemon is unlikely to change often at runtime. Implement a basic cache with the ability to invalidate the service name at any time. This is used by code in a future commit. Change-Id: I85b04dd17ac19e31d49070f289704b429bd1e577 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'chassishandler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud