folly::WeightedEvictingCacheMap::getMaxTotalWeight

Returns the maximum allowed total weight of all entries in the cache.

Synopsis

Declared in <folly/container/WeightedEvictingCacheMap.h>

std::size_t
getMaxTotalWeight() const;

Return Value

the maximum allowed total weight