Class RPushXCommandKt
-
- All Implemented Interfaces:
public final class RPushXCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestrpushxCommand(String key, Collection<StreamWithLength> elements, Function1<Long, Unit> onResult)Inserts elements at the tail of the list, only if the key already exists. -
-
Method Detail
-
rpushxCommand
final static RedisRequest rpushxCommand(String key, Collection<StreamWithLength> elements, Function1<Long, Unit> onResult)
Inserts elements at the tail of the list, only if the key already exists.
- Parameters:
onResult-called with the length of the list after the push operation (0 if the key does not exist)
-
-
-
-