Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/facebook/CacheLib
/ types & classes
Types & classes
1,077 in github.com/facebook/CacheLib
⨍
Functions
5,467
◇
Types & classes
1,077
↓ 16 callers
Class
SlabAllocator
cachelib/allocator/memory/MemoryPool.h:41
↓ 14 callers
Class
ShmSegment
* This class supports using a shared memory api and map that to our address * space. The segments can be created by they corresponding key type. They
cachelib/shm/Shm.h:44
↓ 10 callers
Class
MemoryPool
cachelib/allocator/memory/tests/TestBase.h:37
↓ 10 callers
Class
RequestRange
* The class defines the range request index, this is used in situation like * HTTP range request. The class can be constructed by either specifying t
cachelib/common/piecewise/RequestRange.h:32
↓ 7 callers
Class
PtrCompressor
cachelib/allocator/tests/MMTypeTest.h:114
↓ 6 callers
Class
AllocationClass
cachelib/allocator/memory/tests/TestBase.h:36
↓ 6 callers
Class
EndOfTrace
cachelib/cachebench/util/Exceptions.h:24
↓ 6 callers
Class
Key
cachelib/persistence/tests/PersistenceManagerTest.cpp:170
↓ 6 callers
Class
Options
cachelib/navy/common/NavyThread.h:53
↓ 6 callers
Class
PersistenceConfig
cachelib/interface/components/RAMCacheComponent.h:54
↓ 6 callers
Class
PtrCompressor
cachelib/allocator/tests/AccessTypeTest.h:92
↓ 6 callers
Class
RegionId
Represents the identifier of a @Region.
cachelib/navy/block_cache/Types.h:30
↓ 5 callers
Class
DynamicRandomAP
* Rejects randomly and probability of rejection adjusts real-time to achieve * a target rate. * * Probability = baseProbability * probabilityFactor
cachelib/navy/admission_policy/DynamicRandomAP.h:54
↓ 5 callers
Class
ItemRecord
* ItemRecord and ItemRecords are used for DestructorCheck in cachebench. * Every new allocated item has an ItemRecord pushed into ItemRecords, the *
cachelib/cachebench/cache/ItemRecords.h:66
↓ 5 callers
Class
Iterator
cachelib/allocator/datastruct/DList.h:183
↓ 5 callers
Class
LookupResult
cachelib/navy/block_cache/Index.h:75
↓ 5 callers
Class
OutOfMemory
cachelib/common/Exceptions.h:48
↓ 5 callers
Class
RefcountOverflow
cachelib/common/Exceptions.h:58
↓ 4 callers
Class
BloomFilter
Think of it as an array of BF. User does BF operations referencing BF with an index. It solves problem of lots of small BFs: allocated one-by-one BFs
cachelib/common/BloomFilter.h:39
↓ 4 callers
Class
CollisionCreator
This class creates a Driver that has an entry on its device with a similar situation as hash collision.
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:138
↓ 4 callers
Class
GenericPieces
* A content can be split and stored in multiple pieces in cache. The class * provides the utility to map content object to pieces. * * This class h
cachelib/common/piecewise/GenericPieces.h:35
↓ 4 callers
Class
HashedKey
Pairs up key and hash together, reducing the cost of computing hash multiple times, and eliminating possibility to modify one of them independently.
cachelib/common/Hash.h:82
↓ 3 callers
Class
Buffer
Byte buffer. Manages buffer lifetime.
cachelib/navy/common/Buffer.h:111
↓ 3 callers
Class
CounterVisitor
A wrapper class for functions to collect counters. It can be initialized by either 1. folly::StringPiece, double -> void, or 2. folly::StringPiece, do
cachelib/common/Utils.h:44
↓ 3 callers
Class
EntryHandle
cachelib/compact_cache/CCacheFixedLruBucket.h:84
↓ 3 callers
Class
FdpNvme
FDP specific info and handling This embeds the FDP semantics and specific io-handling. Note: IO with FDP semantics need to be sent through Io_Uring_c
cachelib/navy/common/FdpNvme.h:131
↓ 3 callers
Class
Iterator
cachelib/allocator/ChainedHashTable.h:544
↓ 3 callers
Class
Iterator
cachelib/allocator/datastruct/MultiDList.h:98
↓ 3 callers
Class
Iterator
cachelib/allocator/datastruct/SList.h:149
↓ 3 callers
Class
LatencyTracker
cachelib/common/PercentileStats.h:107
↓ 3 callers
Class
LockGroupIterator
cachelib/allocator/ChainedHashTable.h:637
↓ 3 callers
Class
MurmurHash2
cachelib/common/Hash.h:43
↓ 3 callers
Class
ObjectCacheAllocationError
An allocation error. This could be a genuine std::bad_alloc from the global allocator, or it can be an internal allocation error from the backing cach
cachelib/common/Exceptions.h:81
↓ 3 callers
Class
RelAddress
@RelAddress represents device address as 32-bit region id and 32-bit offset inside that region.
cachelib/navy/block_cache/Types.h:105
↓ 3 callers
Class
ShardedSerializer
* Utility to serialize operations on keys. * * In order to guarantee linearizability, the cache needs to order reads and * writes to cache items.
cachelib/interface/utils/ShardedSerializer.h:54
↓ 3 callers
Class
SlabReleaseAborted
cachelib/common/Exceptions.h:68
↓ 3 callers
Class
stat
cachelib/common/Utils.cpp:236
↓ 2 callers
Class
AccessTimeMap
cachelib/allocator/nvmcache/AccessTimeMap.h:50
↓ 2 callers
Class
BufferManager
cachelib/datatype/Buffer.h:286
↓ 2 callers
Class
CacheComponentStats
Data type for reporting
cachelib/interface/Stats.h:222
↓ 2 callers
Class
ChainedItemInvalid
cachelib/common/Exceptions.h:73
↓ 2 callers
Class
Config
cachelib/common/Throttler.h:45
↓ 2 callers
Class
Container
cachelib/allocator/MM2Q.h:363
↓ 2 callers
Class
EntryHandle
cachelib/compact_cache/CCacheVariableLruBucket.h:194
↓ 2 callers
Class
Key
type of the key for allocations. It is a folly::StringPiece aka Range<const char*> with a custom comparison operator that should do better than folly'
cachelib/allocator/KAllocation.h:73
↓ 2 callers
Class
Key
cachelib/allocator/tests/BaseAllocatorTest.h:361
↓ 2 callers
Class
ObjectCacheDestructorData
cachelib/object_cache/ObjectCache.h:60
↓ 2 callers
Class
Options
cachelib/cachebench/util/JSONConfig.h:144
↓ 2 callers
Class
PosixShmSegment
cachelib/shm/PosixShmSegment.h:46
↓ 2 callers
Class
PtrCompressor
cachelib/allocator/datastruct/tests/SListTest.cpp:43
↓ 2 callers
Class
PtrCompressor
cachelib/benchmarks/MutexBench.cpp:145
↓ 2 callers
Class
Request
cachelib/cachebench/util/Request.h:97
↓ 2 callers
Class
SampleItem
cachelib/allocator/CacheAllocator.h:235
↓ 2 callers
Class
SysVShmSegment
Provides an interface to use the sys-V shared memory API. Segments are * identified through by a key_t generated using ftok. Segments once created *
cachelib/shm/SysVShmSegment.h:38
↓ 2 callers
Class
Throttler
cachelib/common/Throttler.h:32
↓ 2 callers
Class
sigaction
cachelib/cachebench/main.cpp:63
↓ 1 callers
Class
AccessConfig
cachelib/allocator/tests/Cache.h:28
↓ 1 callers
Class
AccessConfig
cachelib/rust/src/lrucache.rs:152
↓ 1 callers
Class
AggregatedStats
cachelib/cachebench/util/AggregateStats.h:25
↓ 1 callers
Class
BinaryRequest
cachelib/cachebench/util/Request.h:68
↓ 1 callers
Class
Bucket
cachelib/benchmarks/SpeedUpExistenceCheckBenchmark.cpp:65
↓ 1 callers
Class
CacheChainedItem
cachelib/allocator/CacheItem.h:62
↓ 1 callers
Class
CleanupHelper
Wrap the fiber output in an RAII struct; this allows the fiber to run cleanup() if the coroutine doesn't consume the output.
cachelib/interface/utils/CoroFiberAdapter.h:93
↓ 1 callers
Class
Config
cachelib/allocator/MM2Q.h:69
↓ 1 callers
Class
Config
cachelib/navy/block_cache/BlockCache.h:52
↓ 1 callers
Class
ConsistentFlashCacheComponent
* Same as FlashCacheComponent but provides strong consistency. Shards * operations by key and serializes operations per shard to guarantee * lineari
cachelib/interface/components/FlashCacheComponent.h:188
↓ 1 callers
Class
Deserializer
cachelib/common/Serialization.h:95
↓ 1 callers
Class
EventInfo
cachelib/common/EventSink.h:69
↓ 1 callers
Class
FlashCacheComponent
* A cache component that uses Cachelib's BlockCache flash cache without RAM * cache. * * Cache items are buffered in RAM according to the region co
cachelib/interface/components/FlashCacheComponent.h:44
↓ 1 callers
Class
Guard
cachelib/allocator/nvmcache/TombStones.h:38
↓ 1 callers
Class
Hash
Hasher object for the hash table.
cachelib/common/Hash.h:29
↓ 1 callers
Class
InternalConstructor
cachelib/object_cache/ObjectCache.h:103
↓ 1 callers
Class
Iterator
cachelib/datatype/Buffer.h:82
↓ 1 callers
Class
Iterator
cachelib/datatype/MapView.h:71
↓ 1 callers
Class
Key
cachelib/allocator/tests/AllocatorResizeTest.h:815
↓ 1 callers
Class
MapIndexMaxedOut
Exception when cachelib::Map's index has maxed out.
cachelib/datatype/Map.h:31
↓ 1 callers
Class
MemoryTierCacheConfig
cachelib/allocator/MemoryTierCacheConfig.h:23
↓ 1 callers
Class
MemoryTierConfig
Parse memory tiers configuration from JSON config
cachelib/cachebench/util/CacheConfig.h:53
↓ 1 callers
Class
NumaBitMask
cachelib/shm/ShmCommon.h:75
↓ 1 callers
Class
ObjectCacheDeallocationBadArgs
Bad arguments were fed into deallocate(). This indicates the alloc argument was invalid, or the size was different from the originally requested size.
cachelib/common/Exceptions.h:89
↓ 1 callers
Class
PoolEvictionAgeStats
stats related to evictions for a pool
cachelib/allocator/CacheStats.h:58
↓ 1 callers
Class
PoolStats
Stats for a pool
cachelib/allocator/CacheStats.h:146
↓ 1 callers
Class
PtrCompressor
cachelib/allocator/memory/CompressedPtr.h:356
↓ 1 callers
Class
RAMCacheComponent
* A CacheComponent that uses Cachelib's LruAllocator RAM cache without the * flash/NVM cache. * * Although all APIs use coroutines (according to th
cachelib/interface/components/RAMCacheComponent.h:45
↓ 1 callers
Class
ReadOnlyMap
cachelib/datatype/MapView.h:163
↓ 1 callers
Class
ReadOnlySharedCacheView
used as a read only into a shared cache. The cache is owned by another process and we peek into the items in the cache based on their offsets.
cachelib/allocator/ReadOnlySharedCacheView.h:35
↓ 1 callers
Class
RefcountUnderflow
cachelib/common/Exceptions.h:63
↓ 1 callers
Class
ReuseTimeReinsertionPolicy
cachelib/navy/block_cache/ReuseTimeReinsertionPolicy.h:39
↓ 1 callers
Class
Serializer
datastructure that helps serialize and deserialize state of objects in Slab*.h
cachelib/common/Serialization.h:35
↓ 1 callers
Class
ShmSegmentOpts
cachelib/shm/ShmCommon.h:126
↓ 1 callers
Class
Token
cachelib/common/Cohort.h:42
Class
ACStats
structure to query the stats corresponding to an AllocationClass.
cachelib/allocator/memory/MemoryAllocatorStats.h:29
Class
AbsAddress
@AbsAddress represents device address as flat 64-bit byte offset of the device.
cachelib/navy/block_cache/Types.h:70
Class
AbstractCache
Generic cache interface. All functions are synchronous, unless stated the opposite.
cachelib/navy/AbstractCache.h:50
Enum
AccessMode
The mode in which the cache was accessed. This can be used by containers to differentiate between the access modes and do appropriate action.
cachelib/allocator/Cache.h:51
Class
AccessTrackerBase
cachelib/common/AccessTracker.h:33
Class
AccessTrackerTest
cachelib/common/tests/AccessTrackerTest.cpp:40
Class
AccessTypeTest
cachelib/allocator/tests/AccessTypeTest.h:32
Enum
AdminRef
* Access reference counts indicate wthere there are an outstanding * references, but not who owns it. These control bits are special refcounts *
cachelib/allocator/Refcount.h:78
Class
AdmissionPolicy
cachelib/navy/admission_policy/AdmissionPolicy.h:26
next →
1–100 of 1,077, ranked by callers