@Override
  public ArrayList<MavenIndexUpdateState> status(MavenToken token) {
    MavenServerUtil.checkToken(token);
    ArrayList<MavenIndexUpdateState> result = new ArrayList<>(states.size());
    states.values().forEach(d -> result.add(d.state));
    return result;
  }
@Override
  public ArrayList<MavenIndexUpdateState> status(MavenToken token)