@Override
  public String getRegionNameAsString() {
    if (nameAsString == null) {
      String name = RegionInfo.getRegionNameAsString(this, this.regionName);
      // may race with other threads setting this, but that's ok
      nameAsString = name;
      return name;
    } else {
      return nameAsString;
    }
  }
Returns region name as a String for use in logging, tracing, etc. Expensive enough to compute
that we do it on first request and save it. Used often because it's included in trace of every
RPC.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/MutableRegionInfo.java