Class IncrExCommandKt
-
- All Implemented Interfaces:
public final class IncrExCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestincrexCommand(String key, IncrExBy by, Boolean saturate, IncrExExpiration expiration, Boolean enx, Function1<IncrExResult, Unit> onResult)-
-
Method Detail
-
increxCommand
final static RedisRequest increxCommand(String key, IncrExBy by, Boolean saturate, IncrExExpiration expiration, Boolean enx, Function1<IncrExResult, Unit> onResult)
- Parameters:
by-optional increment mode and bounds; increments by 1 (integer) if null
saturate-if true, clamp to the bound instead of skipping the increment
expiration-optional, sets or removes the expiration of the key
enx-if true, only set the expiration if the key has none (ENX)
-
-
-
-