We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nebulex Redis Adapter: 2.4.0 Elixir: 1.17.2 Erlang: OTP 27
Example:
iex> MyApp.RedisCache.put("test", "test") :ok iex> MyApp.RedisCache.stats %Nebule.Stats{ measurements: %{ updates: 0, evictions: 0, expirations: 0, hits: 0, misses: 0, writes: 1 } ... } iex> MyApp.RedisCache.get("test") "test" iex> MyApp.RedisCache.stats %Nebule.Stats{ measurements: %{ updates: 0, evictions: 0, expirations: 0, hits: 1, misses: 0, writes: 1 } ... } iex> MyApp.RedisCache.put_all([{"test2", "test"}]) :ok iex> MyApp.RedisCache.stats %Nebule.Stats{ measurements: %{ updates: 0, evictions: 0, expirations: 0, hits: 1, misses: 0, writes: 1 } ... } iex> MyApp.RedisCache.get_all(["test2"]) %{"test2" => "test"} iex> MyApp.RedisCache.stats %Nebule.Stats{ measurements: %{ updates: 0, evictions: 0, expirations: 0, hits: 1, misses: 0, writes: 1 } ... }
Note that Caches that use the built in Nebulex.Adapters.Localadapter do increment the stats for get_all/put_all.
Nebulex.Adapters.Local
get_all
put_all
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Nebulex Redis Adapter: 2.4.0
Elixir: 1.17.2
Erlang: OTP 27
Example:
Note that Caches that use the built in
Nebulex.Adapters.Local
adapter do increment the stats forget_all
/put_all
.The text was updated successfully, but these errors were encountered: