Ferricstore.Store.Shard.ETS (ferricstore v0.10.0)

Copy Markdown View Source

ETS keydir operations: lookup, insert, delete, cold-read warming, LFU touch, hot-cache threshold enforcement, and prefix scans.

Summary

Types

metadata_location()

@type metadata_location() :: :hot | :cold | :pending | :invalid

metadata_lookup()

@type metadata_lookup() ::
  {:live, tuple(), metadata_location()}
  | :expired
  | :miss
  | {:error, :invalid_keydir_entry}
  | Ferricstore.Store.ReadResult.failure()

Functions

track_binary_delete(state, key)

track_binary_delete(state, key, value)