API Reference Nebulex v2.4.1
Nebulex is split into 2 main components
Specifies the minimal API required from adapters.
Specifies the entry API required from adapters.
This behaviour provides a callback to compute the hash slot for a specific key based on the number of slots (partitions, nodes, ...).
Specifies the adapter persistence API.
Specifies the query API required from adapters.
Specifies the stats API required from adapters.
Specifies the adapter transactions API.
Generational garbage collection process.
Adapter module for Multi-level Cache.
The Nil adapter is a special cache adapter that disables the cache;
it loses all the items saved on it and it returns
nil for all the read
true for all save operations. This adapter is mostly useful for tests.
Built-in adapter for partitioned cache topology.
Built-in adapter for replicated cache topology.
Cache's main interface; defines the cache abstraction layer which is highly inspired by Ecto.
Cache key generator. Used for creating a key based on the given module, function name and its arguments (the module and function name are used as context).
Default key generator implementation.
Defines a Cache Entry.
Raised at runtime when a key already exists in cache.
Raised at runtime when the query is invalid.
RPC utilities for distributed task execution.
Raised at runtime when a RPC error occurs.
Raised at runtime when a RPC multi_call error occurs.
Raised at runtime when the cache was not started or it does not exist.
Stats data type.
Telemetry handler for aggregating cache stats; it relies on the default stats
implementation based on Erlang counters. See