public interface CompositeArgument
CompositeArgument consolidate multiple
arguments for a particular Redis command in to one type and reduce the amount of individual arguments passed in a method
Command builder call
build(CommandArgs) during command construction to contribute command arguments for command
invocation. A composite argument is usually stateless as it can be reused multiple times by different commands.
<K,V> void build(CommandArgs<K,V> args)
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.
K - Key type.
V - Value type.
args - the command arguments, must not be
Copyright © 2024 lettuce.io. All rights reserved.