Caches the resolved MIB for a mallctl command that writes a value and reads the previous one, for repeated fast invocation.
Synopsis
Declared in <folly/memory/MallctlHelper.h>
template<
typename ReadType,
typename WriteType>
class MallctlMibReadWriteCache;
Member Functions
Name |
Description |
|
Resolves and caches the MIB for the given command. |
Invokes the cached command, writing the given value and returning the previous one. |
Created with MrDocs