private WALKeyImpl createWALKeyForWALAppend(boolean isReplay, BatchOperation<?> batchOp, long now,
    long nonceGroup, long nonce) {
    WALKeyImpl walKey = isReplay
      ? new WALKeyImpl(this.getRegionInfo().getEncodedNameAsBytes(),
        this.htableDescriptor.getTableName(), SequenceId.NO_SEQUENCE_ID, now,
        batchOp.getClusterIds(), nonceGroup, nonce, mvcc)
      : new WALKeyImpl(this.getRegionInfo().getEncodedNameAsBytes(),
        this.htableDescriptor.getTableName(), SequenceId.NO_SEQUENCE_ID, now,
        batchOp.getClusterIds(), nonceGroup, nonce, mvcc, this.getReplicationScope());
    if (isReplay) {
      walKey.setOrigLogSeqNum(batchOp.getOrigLogSeqNum());
    }
    return walKey;
  }
Returns statistics about the current load of the region
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java