public void setThread(Thread thread) {
    this.thread = thread;
  }
A replica thread is responsible for handling replication for a set of partitions assigned to it
ambry-replication/src/main/java/com/github/ambry/replication/ReplicaThread.java