Package io.dingodb.common
Interface Common.StoreMetricsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.StoreMetrics,Common.StoreMetrics.Builder
- Enclosing class:
- Common
public static interface Common.StoreMetricsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsRegionMetricsMap(long key) the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this storelonggetId()store idbooleantrue: region_metrics_map only contain partial region metrics, false: contain full region metricsbooleanallow update epoch version(split/merge), leader change not allow update epoch version.Deprecated.intthe key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this storethe key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this storegetRegionMetricsMapOrDefault(long key, Common.RegionMetrics defaultValue) the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this storegetRegionMetricsMapOrThrow(long key) the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this storestore own metricsstore own metricsbooleanstore own metricsMethods 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.
-
hasStoreOwnMetrics
boolean hasStoreOwnMetrics()store own metrics
.dingodb.pb.common.StoreOwnMetrics store_own_metrics = 10;- Returns:
- Whether the storeOwnMetrics field is set.
-
getStoreOwnMetrics
Common.StoreOwnMetrics getStoreOwnMetrics()store own metrics
.dingodb.pb.common.StoreOwnMetrics store_own_metrics = 10;- Returns:
- The storeOwnMetrics.
-
getStoreOwnMetricsOrBuilder
Common.StoreOwnMetricsOrBuilder getStoreOwnMetricsOrBuilder()store own metrics
.dingodb.pb.common.StoreOwnMetrics store_own_metrics = 10; -
getRegionMetricsMapCount
int getRegionMetricsMapCount()the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this store
map<int64, .dingodb.pb.common.RegionMetrics> region_metrics_map = 40; -
containsRegionMetricsMap
boolean containsRegionMetricsMap(long key) the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this store
map<int64, .dingodb.pb.common.RegionMetrics> region_metrics_map = 40; -
getRegionMetricsMap
Deprecated.UsegetRegionMetricsMapMap()instead. -
getRegionMetricsMapMap
Map<Long,Common.RegionMetrics> getRegionMetricsMapMap()the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this store
map<int64, .dingodb.pb.common.RegionMetrics> region_metrics_map = 40; -
getRegionMetricsMapOrDefault
the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this store
map<int64, .dingodb.pb.common.RegionMetrics> region_metrics_map = 40; -
getRegionMetricsMapOrThrow
the key of the map is region_id, the value is RegionMetrics this map contains all region's metrics include follower on this store
map<int64, .dingodb.pb.common.RegionMetrics> region_metrics_map = 40; -
getIsPartialRegionMetrics
boolean getIsPartialRegionMetrics()true: region_metrics_map only contain partial region metrics, false: contain full region metrics
bool is_partial_region_metrics = 41;- Returns:
- The isPartialRegionMetrics.
-
getIsUpdateEpochVersion
boolean getIsUpdateEpochVersion()allow update epoch version(split/merge), leader change not allow update epoch version.
bool is_update_epoch_version = 42;- Returns:
- The isUpdateEpochVersion.
-