Lotus.Cache.ETS (Lotus v0.10.0)

View Source

An ETS-based, local, in-memory cache adapter for Lotus.

This is the default cache adapter if none is specified.

If you want a distributed cache, consider using Lotus.Cache.Cachex.

Summary

Functions

child_spec(opts \\ [])

decode(bin)

See Lotus.Cache.Adapter.decode/1.

encode(value, compress \\ true)

See Lotus.Cache.Adapter.encode/2.

start_link(opts)