Lotus.Cache.ETS (Lotus v0.16.6)

Copy Markdown 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(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

decode(bin)

See Lotus.Cache.Adapter.decode/1.

encode(value, compress \\ true)

See Lotus.Cache.Adapter.encode/2.

start_link(opts \\ [])