public class LMPopArgs extends Object implements CompositeArgument
LMPopArgs.Builder and chain the
method calls: left().count(…).| Modifier and Type | Class and Description |
|---|---|
static class |
LMPopArgs.Builder
Builder entry points for
LMPopArgs. |
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
build(CommandArgs<K,V> args)
Build command arguments and contribute arguments to
CommandArgs. |
LMPopArgs |
count(long count)
Set the
count of entries to return. |
public LMPopArgs count(long count)
count of entries to return.count - number greater 0.thispublic <K,V> void build(CommandArgs<K,V> args)
CompositeArgumentCommandArgs.
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.
build in interface CompositeArgumentK - Key type.V - Value type.args - the command arguments, must not be null.Copyright © 2023 lettuce.io. All rights reserved.