MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / CacheLevel

Enum CacheLevel

graphlite/src/cache/mod.rs:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31/// Cache levels for different types of data
32#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
33pub enum CacheLevel {
34 /// L1: Hot data, frequently accessed (in-memory, small, fast)
35 L1,
36 /// L2: Warm data, occasionally accessed (in-memory, larger, moderate speed)
37 L2,
38 /// L3: Cold data, infrequently accessed (disk-backed, large, slower)
39 L3,
40}
41
42/// Cache entry metadata
43#[derive(Debug, Clone)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected