public class ClusterView extends AbstractModel
Constructor and Description |
---|
ClusterView() |
ClusterView(ClusterView 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 |
---|---|
Float |
getAvgCpuUsage()
Get Average CPU usage
|
Float |
getAvgDiskUsage()
Get Average disk usage
|
Float |
getAvgMemUsage()
Get Average memory usage
|
Float |
getBreak()
Get Whether the cluster encounters circuit breaking
|
Long |
getDataNodeNum()
Get Number of data nodes
|
Long |
getDiskUsedInBytes()
Get Used disk size (in bytes)
|
Long |
getDocNum()
Get Number of documents
|
Float |
getHealth()
Get Cluster health status
|
Long |
getIndexNum()
Get Number of indices
|
Long |
getInitializingShardNum()
Get Number of initializing shards
|
Long |
getNodeNum()
Get Number of online nodes
|
Long |
getPrimaryShardNum()
Get Number of primary shards
|
Long |
getRelocatingShardNum()
Get Number of relocating shards
|
String |
getSearchableSnapshotCosAppId()
Get COS app ID of the searchable snapshots of an enterprise cluster
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getSearchableSnapshotCosBucket()
Get Name of the COS bucket that stores searchable snapshots of an enterprise cluster
Note: This field may return `null`, indicating that no valid value was found.
|
Long |
getShardNum()
Get Number of shards
|
String[] |
getTargetNodeTypes()
Get Types of nodes to receive client requests
|
Long |
getTotalCosStorage()
Get Total COS storage of an enterprise cluster, in GB
|
Long |
getTotalDiskSize()
Get Total disk size of the cluster
|
Long |
getTotalNodeNum()
Get Total number of nodes
|
Long |
getUnassignedShardNum()
Get Number of unassigned shards
|
Float |
getVisible()
Get Whether the cluster is visible
|
void |
setAvgCpuUsage(Float AvgCpuUsage)
Set Average CPU usage
|
void |
setAvgDiskUsage(Float AvgDiskUsage)
Set Average disk usage
|
void |
setAvgMemUsage(Float AvgMemUsage)
Set Average memory usage
|
void |
setBreak(Float Break)
Set Whether the cluster encounters circuit breaking
|
void |
setDataNodeNum(Long DataNodeNum)
Set Number of data nodes
|
void |
setDiskUsedInBytes(Long DiskUsedInBytes)
Set Used disk size (in bytes)
|
void |
setDocNum(Long DocNum)
Set Number of documents
|
void |
setHealth(Float Health)
Set Cluster health status
|
void |
setIndexNum(Long IndexNum)
Set Number of indices
|
void |
setInitializingShardNum(Long InitializingShardNum)
Set Number of initializing shards
|
void |
setNodeNum(Long NodeNum)
Set Number of online nodes
|
void |
setPrimaryShardNum(Long PrimaryShardNum)
Set Number of primary shards
|
void |
setRelocatingShardNum(Long RelocatingShardNum)
Set Number of relocating shards
|
void |
setSearchableSnapshotCosAppId(String SearchableSnapshotCosAppId)
Set COS app ID of the searchable snapshots of an enterprise cluster
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setSearchableSnapshotCosBucket(String SearchableSnapshotCosBucket)
Set Name of the COS bucket that stores searchable snapshots of an enterprise cluster
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setShardNum(Long ShardNum)
Set Number of shards
|
void |
setTargetNodeTypes(String[] TargetNodeTypes)
Set Types of nodes to receive client requests
|
void |
setTotalCosStorage(Long TotalCosStorage)
Set Total COS storage of an enterprise cluster, in GB
|
void |
setTotalDiskSize(Long TotalDiskSize)
Set Total disk size of the cluster
|
void |
setTotalNodeNum(Long TotalNodeNum)
Set Total number of nodes
|
void |
setUnassignedShardNum(Long UnassignedShardNum)
Set Number of unassigned shards
|
void |
setVisible(Float Visible)
Set Whether the cluster is visible
|
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 ClusterView()
public ClusterView(ClusterView source)
public Float getHealth()
public void setHealth(Float Health)
Health
- Cluster health statuspublic Float getVisible()
public void setVisible(Float Visible)
Visible
- Whether the cluster is visiblepublic Float getBreak()
public void setBreak(Float Break)
Break
- Whether the cluster encounters circuit breakingpublic Float getAvgDiskUsage()
public void setAvgDiskUsage(Float AvgDiskUsage)
AvgDiskUsage
- Average disk usagepublic Float getAvgMemUsage()
public void setAvgMemUsage(Float AvgMemUsage)
AvgMemUsage
- Average memory usagepublic Float getAvgCpuUsage()
public void setAvgCpuUsage(Float AvgCpuUsage)
AvgCpuUsage
- Average CPU usagepublic Long getTotalDiskSize()
public void setTotalDiskSize(Long TotalDiskSize)
TotalDiskSize
- Total disk size of the clusterpublic String[] getTargetNodeTypes()
public void setTargetNodeTypes(String[] TargetNodeTypes)
TargetNodeTypes
- Types of nodes to receive client requestspublic Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum
- Number of online nodespublic Long getTotalNodeNum()
public void setTotalNodeNum(Long TotalNodeNum)
TotalNodeNum
- Total number of nodespublic Long getDataNodeNum()
public void setDataNodeNum(Long DataNodeNum)
DataNodeNum
- Number of data nodespublic Long getIndexNum()
public void setIndexNum(Long IndexNum)
IndexNum
- Number of indicespublic Long getDocNum()
public void setDocNum(Long DocNum)
DocNum
- Number of documentspublic Long getDiskUsedInBytes()
public void setDiskUsedInBytes(Long DiskUsedInBytes)
DiskUsedInBytes
- Used disk size (in bytes)public Long getShardNum()
public void setShardNum(Long ShardNum)
ShardNum
- Number of shardspublic Long getPrimaryShardNum()
public void setPrimaryShardNum(Long PrimaryShardNum)
PrimaryShardNum
- Number of primary shardspublic Long getRelocatingShardNum()
public void setRelocatingShardNum(Long RelocatingShardNum)
RelocatingShardNum
- Number of relocating shardspublic Long getInitializingShardNum()
public void setInitializingShardNum(Long InitializingShardNum)
InitializingShardNum
- Number of initializing shardspublic Long getUnassignedShardNum()
public void setUnassignedShardNum(Long UnassignedShardNum)
UnassignedShardNum
- Number of unassigned shardspublic Long getTotalCosStorage()
public void setTotalCosStorage(Long TotalCosStorage)
TotalCosStorage
- Total COS storage of an enterprise cluster, in GBpublic String getSearchableSnapshotCosBucket()
public void setSearchableSnapshotCosBucket(String SearchableSnapshotCosBucket)
SearchableSnapshotCosBucket
- Name of the COS bucket that stores searchable snapshots of an enterprise cluster
Note: This field may return `null`, indicating that no valid value was found.public String getSearchableSnapshotCosAppId()
public void setSearchableSnapshotCosAppId(String SearchableSnapshotCosAppId)
SearchableSnapshotCosAppId
- COS app ID of the searchable snapshots of an enterprise cluster
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2023. All rights reserved.