redisson_lists
Redisson Lists
Redis 開発者教育 Redis Developer Course |
Redis 定期点検/技術支援 Redis Technical Support |
Redis エンタープライズサーバ Redis Enterprise Server |
---|
Lists
Lists에는 주로 getDeque(), getList()를 사용하고, Blocking 명령에는 getBlockingDeque()를 사용한다.
Class 변수로 선언
LPUSH -> addFirst, addLast, addAll
RPOP -> pollLast
LPOP -> poll
RPUSH -> add, addAll
LRANGE -> readAll, subList
LLEN -> size
LINDEX -> get
LSET -> fastSet
LINSERT -> addBefore, addAfter
LREM -> fastRemove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence
LTRIM -> trim
RPOPLPUSH -> pollLastAndOfferFirstTo
LPUSHX -> 해당하는 메소드 없음.
RPUSHX -> 해당하는 메소드 없음.
BLPOP -> take, takeAsync
BLPOP -> takeLast, takeLastAsync
BRPOPLPUSH -> pollLastAndOfferFirstTo, pollLastAndOfferFirstToAsync
<< Strings | Lists | Sets >> |
---|
조회수 :
Email
返事がかかってなれば、メールでお知らせします。