# `Lei.BatchCache`
[🔗](https://github.com/gtri/lowendinsight/blob/main/lib/cache/batch_cache.ex#L1)

ETS-backed cache for batch dependency analysis results.

Stores analysis results keyed by {ecosystem, package, version} tuples
for fast parallel lookups during batch SBOM analysis. Designed for
sub-millisecond reads to meet the <500ms target for 50 dependencies.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `clear`

Clear all entries from the batch cache.

# `get`

Look up a cached analysis result by ecosystem, package, and version.
Returns {:ok, entry} or {:error, :not_found | :expired}.

# `multi_get`

Perform parallel cache lookups for a list of dependencies.
Returns a map of %{key => {:ok, entry} | {:error, reason}}.

# `put`

Store an analysis result in the cache.

# `start_link`

# `stats`

Returns cache statistics.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
