kevy

BRPOPLPUSH

Blocking RPOPLPUSH: pop the source tail and push it onto the destination head.

構文BRPOPLPUSH source destination timeout
グループlist
引数の数4
導入バージョン1.0.0
フラグwrite, blocking
計算量O(1) to serve
Redis 互換性differs: a cross-shard move is not atomic — the element is popped on the source's shard and pushed on the destination's, and between those two steps it is in neither list. Co-locate the keys with a {hashtag} to get Redis's atomic path

← すべてのコマンド