Module 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 from LMoveArgs.Builder and chain the method calls: leftRight().
Since:
6.1
Author:
Mikhael Sokolov, Mark Paluch
  • Method Details

    • build

      public <K,​ V> void build​(CommandArgs<K,​V> args)
      Description copied from interface: CompositeArgument
      Build command arguments and contribute arguments to CommandArgs.

      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 interface CompositeArgument
      Type Parameters:
      K - Key type.
      V - Value type.
      Parameters:
      args - the command arguments, must not be null.