phasedb v0.0.2 PhaseDB.Storage

Abstracts the creation of session storage.

Currently takes :ets or a module which implements the relevant protocols needed to be a PhaseDB storage engine.

Defaults to using ETS storage.

Summary

Functions

Create a new instance of your storage engine

Types

t :: any

Functions

create()

Specs

create :: t

Create a new instance of your storage engine.

Params: - engine; currently either :ets or a module. - opts; keyword options for the engine, including but not limited to resolution: and range:.

create(engine)
create(module, opts)

Specs

create(atom, Keyword.t) :: t