public interface CompositeArgument
CompositeArgumentconsolidate multiple arguments for a particular Redis command in to one type and reduce the amount of individual arguments passed in a method signature.
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 © 2020 lettuce.io. All rights reserved.