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

Synopsis

Declared in <folly/memory/MallctlHelper.h>

template<typename ReadType>
class MallctlMibReadCache;

Member Functions

Name

Description

MallctlMibReadCache [constructor]

Resolves and caches the MIB for the given command.

operator()

Invokes the cached command and returns the value read.

Created with MrDocs