@Test public void progressMessage() { assertThat(NameResolver.getProgressMsg(10000L, 5555), is("[1800.18] taxon/s over [5.56] s")); }
public static String getProgressMsg(Long count, long duration) { return String.format("[%.2f] taxon/s over [%.2f] s", (float) count * 1000.0 / duration, duration / 1000.0); }
NameResolver implements IndexerNeo4j { public static String getProgressMsg(Long count, long duration) { return String.format("[%.2f] taxon/s over [%.2f] s", (float) count * 1000.0 / duration, duration / 1000.0); } }
NameResolver implements IndexerNeo4j { public static String getProgressMsg(Long count, long duration) { return String.format("[%.2f] taxon/s over [%.2f] s", (float) count * 1000.0 / duration, duration / 1000.0); } NameResolver(TaxonIndex index);  NameResolver(TaxonIndex index, TaxonFilter taxonFilter); }
NameResolver implements IndexerNeo4j { public static String getProgressMsg(Long count, long duration) { return String.format("[%.2f] taxon/s over [%.2f] s", (float) count * 1000.0 / duration, duration / 1000.0); } NameResolver(TaxonIndex index);  NameResolver(TaxonIndex index, TaxonFilter taxonFilter); void setBatchSize(Long batchSize); void resolveNames(Long batchSize, GraphDatabaseService graphService); static String getProgressMsg(Long count, long duration); @Override void index(GraphServiceFactory graphService); }
NameResolver implements IndexerNeo4j { public static String getProgressMsg(Long count, long duration) { return String.format("[%.2f] taxon/s over [%.2f] s", (float) count * 1000.0 / duration, duration / 1000.0); } NameResolver(TaxonIndex index);  NameResolver(TaxonIndex index, TaxonFilter taxonFilter); void setBatchSize(Long batchSize); void resolveNames(Long batchSize, GraphDatabaseService graphService); static String getProgressMsg(Long count, long duration); @Override void index(GraphServiceFactory graphService);  }