protected String getReplicaThreadName(String datacenterToReplicateFrom, int threadIndexWithinPool) {
    return "ReplicaThread-" + (dataNodeId.getDatacenterName().equals(datacenterToReplicateFrom) ? "Intra-" : "Inter-")
        + threadIndexWithinPool + "-" + datacenterToReplicateFrom;
  }
Chooses a name for a new replica thread.
@param datacenterToReplicateFrom The datacenter that we replicate from in this thread.
@param threadIndexWithinPool The index of the thread within the thread pool.
@return The name of the thread.
ambry-replication/src/main/java/com/github/ambry/replication/ReplicationEngine.java