public class KillArgs extends Object implements CompositeArgument
KillArgs.Builder and chain the method calls: id(1).skipme().| Modifier and Type | Class and Description |
|---|---|
static class |
KillArgs.Builder
Static builder methods.
|
| Constructor and Description |
|---|
KillArgs() |
| Modifier and Type | Method and Description |
|---|---|
KillArgs |
addr(String addr) |
<K,V> void |
build(CommandArgs<K,V> args)
Build command arguments and contribute arguments to
CommandArgs. |
KillArgs |
id(long id) |
KillArgs |
skipme() |
KillArgs |
skipme(boolean state) |
KillArgs |
type(io.lettuce.core.KillArgs.Type type) |
public KillArgs skipme()
public KillArgs skipme(boolean state)
public KillArgs id(long id)
public KillArgs type(io.lettuce.core.KillArgs.Type type)
public <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 © 2018 lettuce.io. All rights reserved.