Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Nebulex.Adapter.Entry and Nebulex.Adapter.Storage behaviours #93

Closed
cabol opened this issue Dec 31, 2020 · 0 comments
Closed

Add Nebulex.Adapter.Entry and Nebulex.Adapter.Storage behaviours #93

cabol opened this issue Dec 31, 2020 · 0 comments

Comments

@cabol
Copy link
Owner

cabol commented Dec 31, 2020

Create two new behaviours for key-based operations and store-based operations (the ones affecting all entries in cache).

  • Nebulex.Adapter.Entry - This behaviour specifies all read/write key-based functions, the ones applied to a specific cache entry.
  • Nebulex.Adapter.Storage - This behaviour specifies all read/write functions applied to all cache entries.

Inspired by Ecto API.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant