Package io.dingodb.common
Interface Common.StoreOwnMetricsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.StoreOwnMetrics,Common.StoreOwnMetrics.Builder
- Enclosing class:
- Common
public static interface Common.StoreOwnMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetId()store idbooleanis read onlylongfree capacity of this store , NOT IMPLEMENTEDlongcpu usage of this store process, this value / 100 is the real cpu usage percentlongtotal used memory of this store processread only reasoncom.google.protobuf.ByteStringread only reasonlongavailable memory of the host this store process running onlongbuffer memory of the host this store process running onlongcache memory of the host this store process running onlongcpu usage of this store processlongfree capacity of this storelongtotal free memory of the host this store process running onlongtotal free swap of the host this store process running onlongio utilization of the host this store process running on , NOT IMPLEMENTEDlongshared memory of the host this store process running onlongtotal capacity of this storelongtotal memory of the host this store process running onlongtotal swap of the host this store process running onMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
long getId()store id
int64 id = 1;- Returns:
- The id.
-
getIsReadyOnly
boolean getIsReadyOnly()is read only
bool is_ready_only = 2;- Returns:
- The isReadyOnly.
-
getReadOnlyReason
String getReadOnlyReason()read only reason
string read_only_reason = 3;- Returns:
- The readOnlyReason.
-
getReadOnlyReasonBytes
com.google.protobuf.ByteString getReadOnlyReasonBytes()read only reason
string read_only_reason = 3;- Returns:
- The bytes for readOnlyReason.
-
getSystemTotalCapacity
long getSystemTotalCapacity()total capacity of this store
int64 system_total_capacity = 11;- Returns:
- The systemTotalCapacity.
-
getSystemFreeCapacity
long getSystemFreeCapacity()free capacity of this store
int64 system_free_capacity = 12;- Returns:
- The systemFreeCapacity.
-
getSystemCpuUsage
long getSystemCpuUsage()cpu usage of this store process
int64 system_cpu_usage = 13;- Returns:
- The systemCpuUsage.
-
getSystemTotalMemory
long getSystemTotalMemory()total memory of the host this store process running on
int64 system_total_memory = 14;- Returns:
- The systemTotalMemory.
-
getSystemFreeMemory
long getSystemFreeMemory()total free memory of the host this store process running on
int64 system_free_memory = 15;- Returns:
- The systemFreeMemory.
-
getSystemBufferMemory
long getSystemBufferMemory()buffer memory of the host this store process running on
int64 system_buffer_memory = 17;- Returns:
- The systemBufferMemory.
-
getSystemCachedMemory
long getSystemCachedMemory()cache memory of the host this store process running on
int64 system_cached_memory = 18;- Returns:
- The systemCachedMemory.
-
getSystemAvailableMemory
long getSystemAvailableMemory()available memory of the host this store process running on
int64 system_available_memory = 19;- Returns:
- The systemAvailableMemory.
-
getSystemTotalSwap
long getSystemTotalSwap()total swap of the host this store process running on
int64 system_total_swap = 20;- Returns:
- The systemTotalSwap.
-
getSystemFreeSwap
long getSystemFreeSwap()total free swap of the host this store process running on
int64 system_free_swap = 21;- Returns:
- The systemFreeSwap.
-
getSystemIoUtil
long getSystemIoUtil()io utilization of the host this store process running on , NOT IMPLEMENTED
int64 system_io_util = 22;- Returns:
- The systemIoUtil.
-
getProcessUsedCpu
long getProcessUsedCpu()cpu usage of this store process, this value / 100 is the real cpu usage percent
int64 process_used_cpu = 23;- Returns:
- The processUsedCpu.
-
getProcessUsedMemory
long getProcessUsedMemory()total used memory of this store process
int64 process_used_memory = 24;- Returns:
- The processUsedMemory.
-
getProcessUsedCapacity
long getProcessUsedCapacity()free capacity of this store , NOT IMPLEMENTED
int64 process_used_capacity = 25;- Returns:
- The processUsedCapacity.
-