Package io.lettuce.core
Class LMoveArgs
- java.lang.Object
-
- io.lettuce.core.LMoveArgs
-
- All Implemented Interfaces:
CompositeArgument
public class LMoveArgs extends Object implements CompositeArgument
Argument list builder for the Redis BLMOVE and LMOVE commands. Static import the methods fromLMoveArgs.Builder
and chain the method calls:leftRight()
.- Since:
- 6.1
- Author:
- Mikhael Sokolov, Mark Paluch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LMoveArgs.Builder
Builder entry points forLMoveArgs
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
voidbuild(CommandArgs<K,V> args)
Build command arguments and contribute arguments toCommandArgs
.
-
-
-
Method Detail
-
build
public <K,V> void build(CommandArgs<K,V> args)
Description copied from interface:CompositeArgument
Build command arguments and contribute arguments toCommandArgs
.Implementing classes are required to implement this method. Depending on the command nature and configured arguments, this method may contribute arguments but is not required to add arguments if none are specified.
- Specified by:
build
in interfaceCompositeArgument
- Type Parameters:
K
- Key type.V
- Value type.- Parameters:
args
- the command arguments, must not benull
.
-
-