Uses of Interface
org.springframework.data.redis.support.collections.RedisList
Packages that use RedisList
Package
Description
Package providing implementations for most of the
java.util collections on top of Redis.-
Uses of RedisList in org.springframework.data.redis.support.collections
Classes in org.springframework.data.redis.support.collections that implement RedisListMethods in org.springframework.data.redis.support.collections that return RedisListModifier and TypeMethodDescriptionstatic <E> RedisList<E>RedisList.create(String key, RedisOperations<String, E> operations) Constructs a new, uncappedRedisListinstance.static <E> RedisList<E>RedisList.create(String key, RedisOperations<String, E> operations, int maxSize) static <E> RedisList<E>RedisList.create(BoundListOperations<String, E> boundOps) Constructs a new, uncappedDefaultRedisListinstance.static <E> RedisList<E>RedisList.create(BoundListOperations<String, E> boundOps, int maxSize) Constructs a newDefaultRedisList.RedisList.reversed()Returns a reverse-ordered view of this collection.DefaultRedisList.trim(int start, int end) DefaultRedisList.trim(long start, long end) RedisList.trim(int start, int end) Trim list at the bound key to elements betweenstartandend.RedisList.trim(long start, long end) Trim list at the bound key to elements betweenstartandend.Methods in org.springframework.data.redis.support.collections with parameters of type RedisListModifier and TypeMethodDescriptionDefaultRedisList.moveFirstTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition) DefaultRedisList.moveFirstTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition, long timeout, TimeUnit unit) RedisList.moveFirstTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition) Atomically returns and removes the first element of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on thedestinationPositionargument) of the list stored atdestination.RedisList.moveFirstTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition, long timeout, TimeUnit unit) Atomically returns and removes the first element of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on thedestinationPositionargument) of the list stored atdestination.default ERedisList.moveFirstTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition, Duration timeout) Atomically returns and removes the first element of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on thedestinationPositionargument) of the list stored atdestination.DefaultRedisList.moveLastTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition) DefaultRedisList.moveLastTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition, long timeout, TimeUnit unit) RedisList.moveLastTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition) Atomically returns and removes the last element of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on thedestinationPositionargument) of the list stored atdestination.RedisList.moveLastTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition, long timeout, TimeUnit unit) Atomically returns and removes the last element of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on thedestinationPositionargument) of the list stored atdestination.default ERedisList.moveLastTo(RedisList<E> destination, RedisListCommands.Direction destinationPosition, Duration timeout) Atomically returns and removes the last element of the list stored at the bound key, and pushes the element at the first/last element (head/tail depending on thedestinationPositionargument) of the list stored atdestination.