Beetle.Backend.ETS.count_hit

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

count_hit(pid, key, now)

View Source

Specs

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

Record a hit in the bucket identified by key

Link to this function

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()}

Record a hit in the bucket identified by key, with a custom increment