Class IndexingUriFinderListDeveloper
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchindex.indexing.IndexingUriFinderListDeveloper
-
- All Implemented Interfaces:
IndexingUriFinderList
public class IndexingUriFinderListDeveloper extends Object implements IndexingUriFinderList
An implementation that accumulates timing figures for each finder and writes them to the log. Note that this must be thread-safe.
-
-
Constructor Summary
Constructors Constructor Description IndexingUriFinderListDeveloper(Collection<? extends IndexingUriFinder> finders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>findAdditionalUris(org.apache.jena.rdf.model.Statement stmt)Each time a finder is run, accumulate the timings for it.voidstartIndexing()Do any required setup on the individual finders.voidstopIndexing()Write the timings to the log.
-
-
-
Constructor Detail
-
IndexingUriFinderListDeveloper
public IndexingUriFinderListDeveloper(Collection<? extends IndexingUriFinder> finders)
-
-
Method Detail
-
startIndexing
public void startIndexing()
Description copied from interface:IndexingUriFinderListDo any required setup on the individual finders.- Specified by:
startIndexingin interfaceIndexingUriFinderList
-
findAdditionalUris
public Set<String> findAdditionalUris(org.apache.jena.rdf.model.Statement stmt)
Each time a finder is run, accumulate the timings for it.- Specified by:
findAdditionalUrisin interfaceIndexingUriFinderList
-
stopIndexing
public void stopIndexing()
Write the timings to the log.- Specified by:
stopIndexingin interfaceIndexingUriFinderList
-
-