Redis
@Deprecated public class KillFilter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
KillFilter.Type
Deprecated.
|
Constructor and Description |
---|
KillFilter()
Deprecated.
|
KillFilter(JsonObject json)
Deprecated.
|
KillFilter(KillFilter copy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
KillFilter |
setAddr(String addr)
Deprecated.
Set ADDR filter
|
KillFilter |
setId(String clientid)
Deprecated.
Set ID filter
|
KillFilter |
setSkipme(boolean skip)
Deprecated.
Set SKIPME filter
|
KillFilter |
setType(KillFilter.Type type)
Deprecated.
Set TYPE filter
|
JsonObject |
toJson()
Deprecated.
|
JsonArray |
toJsonArray()
Deprecated.
|
public KillFilter()
public KillFilter(KillFilter copy)
public KillFilter(JsonObject json)
public KillFilter setAddr(String addr)
addr
- Address filter of form addr:portpublic KillFilter setId(String clientid)
clientid
- Client id as returned by CLIENT LIST commandpublic KillFilter setType(KillFilter.Type type)
type
- KillType to includepublic KillFilter setSkipme(boolean skip)
skip
- True if current client should be excluded from KILLpublic JsonObject toJson()
public JsonArray toJsonArray()
Copyright © 2023 Eclipse. All rights reserved.