Memcache.incr_cas
You're seeing just the function
incr_cas
, go back to Memcache module for more information.
Specs
incr_cas(GenServer.server(), binary(), integer(), Keyword.t()) :: fetch_integer_result()
Increments the current value if the CAS value is equal to the provided value.
Options
:by
- (integer) The amount to add to the existing value. Defaults to1
.:default
- (integer) Default value to use in case the key is not found. Defaults to0
.
other options: :cas
, :ttl