[−][src]Module ipfs_sqlite_block_store::cache
Structs
AsyncCacheTracker | A wrapping cache tracker that performs write operations on another thread |
BlockInfo | Information about a block that is quick to gather |
InMemCacheTracker | keep track of block accesses in memory |
NoopCacheTracker | a cache tracker that does nothing whatsoever, but is extremely fast |
SortByIdCacheTracker | a cache tracker that just sorts by id, which is the time of first addition of a block |
SqliteCacheTracker | A cache tracker that uses a sqlite database as persistent storage |
Traits
CacheTracker | tracks block reads and writes to provide info about which blocks to evict from the LRU cache |
Spawner | Wrapper around a spawn function |