@Generated(value="org.openapitools.codegen.languages.JavaSmartxClientCodegen") public class Witness extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SERIALIZED_NAME_CLUSTER |
static String |
SERIALIZED_NAME_CPU_HZ_PER_CORE |
static String |
SERIALIZED_NAME_DATA_IP |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_LOCAL_ID |
static String |
SERIALIZED_NAME_MANAGEMENT_IP |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_SYSTEM_DATA_CAPACITY |
static String |
SERIALIZED_NAME_SYSTEM_USED_DATA_SPACE |
static String |
SERIALIZED_NAME_TOTAL_CPU_CORES |
static String |
SERIALIZED_NAME_TOTAL_CPU_HZ |
static String |
SERIALIZED_NAME_TOTAL_MEMORY_BYTES |
| 构造器和说明 |
|---|
Witness() |
public static final String SERIALIZED_NAME_CPU_HZ_PER_CORE
public static final String SERIALIZED_NAME_SYSTEM_DATA_CAPACITY
public static final String SERIALIZED_NAME_SYSTEM_USED_DATA_SPACE
public static final String SERIALIZED_NAME_TOTAL_CPU_CORES
public Witness cluster(NestedCluster cluster)
@Nonnull public NestedCluster getCluster()
public void setCluster(NestedCluster cluster)
public void setCpuHzPerCore(Long cpuHzPerCore)
public void setDataIp(String dataIp)
public void setId(String id)
public void setLocalId(String localId)
public void setManagementIp(String managementIp)
public void setName(String name)
@Nonnull public Long getSystemDataCapacity()
public void setSystemDataCapacity(Long systemDataCapacity)
@Nonnull public Long getSystemUsedDataSpace()
public void setSystemUsedDataSpace(Long systemUsedDataSpace)
public void setTotalCpuCores(Integer totalCpuCores)
public void setTotalCpuHz(Long totalCpuHz)
@Nonnull public Long getTotalMemoryBytes()
public void setTotalMemoryBytes(Long totalMemoryBytes)
Copyright © 2025. All rights reserved.