public class RedisNode extends AbstractModel
Constructor and Description |
---|
RedisNode() |
RedisNode(RedisNode source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getKeys()
Get The number of keys on a node
|
String |
getNodeId()
Get Node ID
|
String |
getSlot()
Get Distribution of node slots
|
String |
getStatus()
Get Node status
|
void |
setKeys(Long Keys)
Set The number of keys on a node
|
void |
setNodeId(String NodeId)
Set Node ID
|
void |
setSlot(String Slot)
Set Distribution of node slots
|
void |
setStatus(String Status)
Set Node status
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public RedisNode()
public RedisNode(RedisNode source)
public Long getKeys()
public void setKeys(Long Keys)
Keys
- The number of keys on a nodepublic String getSlot()
public void setSlot(String Slot)
Slot
- Distribution of node slotspublic String getNodeId()
public void setNodeId(String NodeId)
NodeId
- Node IDpublic String getStatus()
public void setStatus(String Status)
Status
- Node statusCopyright © 2021. All rights reserved.