MCPcopy Create free account
hub / github.com/facebook/CacheLib / create

Method create

cachelib/object_cache/ObjectCache.h:914–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912
913template <typename AllocatorT>
914std::unique_ptr<ObjectCache<AllocatorT>> ObjectCache<AllocatorT>::create(
915 Config config) {
916 auto obj =
917 std::make_unique<ObjectCache>(InternalConstructor(), std::move(config));
918 obj->init();
919 return obj;
920}
921
922template <typename AllocatorT>
923StorageMedium ObjectCache<AllocatorT>::existFast(folly::StringPiece key) {

Callers

nothing calls this directly

Calls 2

InternalConstructorClass · 0.85
initMethod · 0.45

Tested by

no test coverage detected