return the especified element of the list stored at the specified key.
return the especified element of the list stored at the specified key. Negative indexes are supported, for example -1 is the last element, -2 the penultimate and so on.
return the length of the list stored at the specified key.
return the length of the list stored at the specified key. If the key does not exist zero is returned (the same behaviour as for empty lists). If the value stored at key is not a list an error is returned.
atomically return and remove the first (LPOP) or last (RPOP) element of the list
add values to the head of the list stored at key (Variadic: >= 2.4)
add value to the head of the list stored at key (Variadic: >= 2.4)
return the specified elements of the list stored at the specified key.
return the specified elements of the list stored at the specified key. Start and end are zero-based indexes.
Remove the first count occurrences of the value element from the list.
set the list element at index with the new value.
set the list element at index with the new value. Out of range indexes will generate an error
Trim an existing list so that it will contain only the specified range of elements specified.
atomically return and remove the first (LPOP) or last (RPOP) element of the list
Remove the first count occurrences of the value element from the list.
add values to the tail of the list stored at key (Variadic: >= 2.4)
add value to the tail of the list stored at key (Variadic: >= 2.4)
(Since version ) see corresponding Javadoc for more information.