public class ShardInfo extends AbstractModel
Constructor and Description |
---|
ShardInfo() |
ShardInfo(ShardInfo 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 |
getMemory()
Get Shard memory size in MB
|
Long |
getOplogSize()
Get Shard oplog size in MB
|
String |
getRealReplicaSetId()
Get Shard physical ID
|
String |
getReplicaSetId()
Get Shard ID
|
String |
getReplicaSetName()
Get Shard name
|
Long |
getSecondaryNum()
Get Number of secondary nodes of a shard
|
Float |
getUsedVolume()
Get Used shard capacity
|
Long |
getVolume()
Get Shard disk size in MB
|
void |
setMemory(Long Memory)
Set Shard memory size in MB
|
void |
setOplogSize(Long OplogSize)
Set Shard oplog size in MB
|
void |
setRealReplicaSetId(String RealReplicaSetId)
Set Shard physical ID
|
void |
setReplicaSetId(String ReplicaSetId)
Set Shard ID
|
void |
setReplicaSetName(String ReplicaSetName)
Set Shard name
|
void |
setSecondaryNum(Long SecondaryNum)
Set Number of secondary nodes of a shard
|
void |
setUsedVolume(Float UsedVolume)
Set Used shard capacity
|
void |
setVolume(Long Volume)
Set Shard disk size in MB
|
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 ShardInfo()
public ShardInfo(ShardInfo source)
public Float getUsedVolume()
public void setUsedVolume(Float UsedVolume)
UsedVolume
- Used shard capacitypublic String getReplicaSetId()
public void setReplicaSetId(String ReplicaSetId)
ReplicaSetId
- Shard IDpublic String getReplicaSetName()
public void setReplicaSetName(String ReplicaSetName)
ReplicaSetName
- Shard namepublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Shard memory size in MBpublic Long getVolume()
public void setVolume(Long Volume)
Volume
- Shard disk size in MBpublic Long getOplogSize()
public void setOplogSize(Long OplogSize)
OplogSize
- Shard oplog size in MBpublic Long getSecondaryNum()
public void setSecondaryNum(Long SecondaryNum)
SecondaryNum
- Number of secondary nodes of a shardpublic String getRealReplicaSetId()
public void setRealReplicaSetId(String RealReplicaSetId)
RealReplicaSetId
- Shard physical IDCopyright © 2021. All rights reserved.