Beetle.Backend.count_hit

You're seeing just the callback count_hit, go back to Beetle.Backend module for more information.
Link to this callback

count_hit(pid, key, now)

View Source

Specs

count_hit(pid :: pid(), key :: bucket_key(), now :: integer()) ::
  {:ok, count :: integer()} | {:error, reason :: any()}
Link to this callback

count_hit(pid, key, now, increment)

View Source

Specs

count_hit(
  pid :: pid(),
  key :: bucket_key(),
  now :: integer(),
  increment :: integer()
) :: {:ok, count :: integer()} | {:error, reason :: any()}