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 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 Map<Long,Common.RegionMetrics> getRegionMetricsMap()
      Deprecated.
    • 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

      Common.RegionMetrics getRegionMetricsMapOrDefault(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 store
       
      map<int64, .dingodb.pb.common.RegionMetrics> region_metrics_map = 40;
    • getRegionMetricsMapOrThrow

      Common.RegionMetrics getRegionMetricsMapOrThrow(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;
    • 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.