View Source Indexed.Part behaviour (Indexed v0.3.0)

Defines a type of index to be automatically managed.

Link to this section Summary

Callbacks

Initial config checking and adjustments.

Create ETS tables and do initial prep work.

Prewarm if needed, then load data into the cache.

Link to this section Callbacks

@callback config(
  Indexed.t(),
  keyword()
) :: Indexed.t()

Initial config checking and adjustments.

@callback prewarm(
  Indexed.t(),
  keyword()
) :: Indexed.t()

Create ETS tables and do initial prep work.

@callback warm(
  Indexed.t(),
  keyword()
) :: Indexed.t()

Prewarm if needed, then load data into the cache.