Nebulex.Adapter.Storage behaviour (Nebulex v2.0.0-rc.2) View Source

Specifies the adapter cache storage API.

This behaviour specifies all read/write functions applied to all cache entries.

Link to this section Summary

Callbacks

Flushes the cache and returns the number of evicted keys.

Returns the total number of cached entries.

Link to this section Callbacks

Specs

Flushes the cache and returns the number of evicted keys.

See Nebulex.Cache.flush/0.

Specs

Returns the total number of cached entries.

See Nebulex.Cache.size/0.