Caches the resolved MIB for a mallctl command that writes a value and reads the previous one, for repeated fast invocation.
Declared in <folly/memory/MallctlHelper.h>
template<
typename ReadType,
typename WriteType>
class MallctlMibReadWriteCache;
| Name | Description |
|---|---|
MallctlMibReadWriteCache [constructor] | Resolves and caches the MIB for the given command. |
operator() | Invokes the cached command, writing the given value and returning the previous one. |