public void updateCurrentlyReplicatingPriorityPartitions(Set<PartitionId> currentlyReplicatingPriorityPartitions) {
    this.currentlyReplicatingPriorityPartitions = currentlyReplicatingPriorityPartitions;
    this.highPriorityBatchSizeHistogram.update(currentlyReplicatingPriorityPartitions.size());
  }
Update references to currently replicating priority partitions.
@param currentlyReplicatingPriorityPartitions Set of currently replicating priority partitions.
ambry-prioritization/src/main/java/com/github/ambry/replica/prioritization/ReplicationPrioritizationMetrics.java