Behaviour for cache backends.
Implement this behaviour to add support for a new cache system.
Summary
Callbacks
@callback size(term()) :: {:ok, non_neg_integer()} | {:error, term()}
@callback start_link(keyword()) :: GenServer.on_start()
Behaviour for cache backends.
Implement this behaviour to add support for a new cache system.
@callback size(term()) :: {:ok, non_neg_integer()} | {:error, term()}
@callback start_link(keyword()) :: GenServer.on_start()