Skip to main content

Module cache

Module cache 

Source
Expand description

Filesystem caching layer.

This module provides caching mechanisms for filesystem operations, including metadata caching and negative (non-existence) caching.

Structsยง

AdaptiveTtlConfig
Configuration for adaptive negative cache TTLs.
MetadataCache
Simple LRU cache for filesystem metadata.
NegativeCache
Thread-safe negative cache for filesystem lookups.
NegativeCacheConfig
Configuration for the negative cache.
NegativeCacheStats
Statistics for the negative cache.
TtlRule
A single path-pattern-to-TTL mapping for the adaptive negative cache.