public FindTokenFactory getFindTokenFactoryFromReplicaType(ReplicaType replicaType) {
    if (!findTokenFactoryMap.containsKey(replicaType)) {
      throw new IllegalArgumentException("Invalid replica type " + replicaType.getClass());
    }
    return findTokenFactoryMap.get(replicaType);
  }
Get {@code FindTokenFactory} object based on {@code ReplicaType}
@param replicaType for which to get the {@code FindTokenFactory} object
@return {@code FindTokenFactory} object.
@throws ReflectiveOperationException
ambry-api/src/main/java/com/github/ambry/replication/FindTokenHelper.java