LockedRedisRef
class LockedRedisRef[F[_]](redisConnection: RedisConnection[F], key: String, acquireTimeout: FiniteDuration, lockTimeout: FiniteDuration, setOpts: SetOpts)(implicit evidence$16: Async[F]) extends Ref[F, Option[String]]
Value members
Concrete methods
Inherited methods
Replaces the current value with a
, returning the previous value.
Replaces the current value with a
, returning the previous value.
- Inherited from:
- Ref
Updates the current value using f
and returns the previous value.
Updates the current value using f
and returns the previous value.
In case of retries caused by concurrent modifications, the returned value will be the last one before a successful update.
- Inherited from:
- Ref
Modify the context F
using transformation f
.
Modify the context F
using transformation f
.
- Inherited from:
- Ref