Nebulex v2.0.0-rc.0 API Reference

Modules

Nebulex is split into 2 main components

This module specifies the adapter API that a Cache adapter is required to implement.

This behaviour provides a callback to compute the hash slot for a specific key based on the number of slots/nodes.

Specifies the adapter persistence API.

Specifies the query 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.

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.

This module defines the supported built-in stats.

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.

Time utilities.