API Reference Nebulex v2.0.0

Modules

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.

Adapter module for Local Generational Cache; inspired by epocxy.

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 and 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.

Declarative annotation-based caching via function decorators.

Defines a Cache Entry.

Pre/Post Hooks

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 multi_call error occurs.

Stats data type.

Time utilities.

Mix Tasks

Prints Nebulex tasks and their information.

Generates a new cache.