code: public List<LeaderService> getPartitionLeaderServices() {
          return _partitionLeaders.stream()
                  .map(PartitionLeader::getLeaderService)
                  .collect(Collectors.toList());
      }
docs: Returns the underlying leader services for each partition.  The services are guaranteed to be returned
  ordered by partition number.