folly::MallctlMibWriteCache

Caches the resolved MIB for a mallctl command that writes a value, for repeated fast invocation.

Synopsis

Declared in <folly/memory/MallctlHelper.h>

template<typename WriteType>
class MallctlMibWriteCache;

Member Functions

NameDescription
MallctlMibWriteCache [constructor]Resolves and caches the MIB for the given command.
operator() Invokes the cached command, writing the given value.