code: public int getWeight() {
          ProviderStatus status = getStatus();
          if (status == ProviderStatus.WARMING_UP) {
              try {
                  // 还处于预热时间中
                  Integer warmUpWeight = (Integer) getDynamicAttr(ProviderInfoAttrs.ATTR_WARMUP_WEIGHT);
                  if (warmUpWeight != null) {
                      return warmUpWeight;
                  }
              } catch (Exception e) {
                  return weight;
              }
          }
          return weight;
      }
docs: Gets weight.
  
  @return the weight