public class InstanceClusterShard extends AbstractModel
Constructor and Description |
---|
InstanceClusterShard() |
InstanceClusterShard(InstanceClusterShard 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 |
getConnected()
Get Service status.
|
Long |
getKeys()
Get Number of keys
|
Long |
getRole()
Get Role
|
String |
getRunid()
Get ID of the runtime node of the instance
|
String |
getShardId()
Get Shard node ID
|
String |
getShardName()
Get Shard node name
|
String |
getSlots()
Get Slot information
|
Long |
getStorage()
Get Storage capacity
|
Float |
getStorageSlope()
Get Capacity slope
|
void |
setConnected(Long Connected)
Set Service status.
|
void |
setKeys(Long Keys)
Set Number of keys
|
void |
setRole(Long Role)
Set Role
|
void |
setRunid(String Runid)
Set ID of the runtime node of the instance
|
void |
setShardId(String ShardId)
Set Shard node ID
|
void |
setShardName(String ShardName)
Set Shard node name
|
void |
setSlots(String Slots)
Set Slot information
|
void |
setStorage(Long Storage)
Set Storage capacity
|
void |
setStorageSlope(Float StorageSlope)
Set Capacity slope
|
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 InstanceClusterShard()
public InstanceClusterShard(InstanceClusterShard source)
public String getShardName()
public void setShardName(String ShardName)
ShardName
- Shard node namepublic String getShardId()
public void setShardId(String ShardId)
ShardId
- Shard node IDpublic Long getRole()
public void setRole(Long Role)
Role
- Rolepublic Long getKeys()
public void setKeys(Long Keys)
Keys
- Number of keyspublic String getSlots()
public void setSlots(String Slots)
Slots
- Slot informationpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage capacitypublic Float getStorageSlope()
public void setStorageSlope(Float StorageSlope)
StorageSlope
- Capacity slopepublic String getRunid()
public void setRunid(String Runid)
Runid
- ID of the runtime node of the instancepublic Long getConnected()
public void setConnected(Long Connected)
Connected
- Service status. 0: down; 1: onCopyright © 2023. All rights reserved.