de.pangaea.metadataportal.harvester
Class IndexBuilder
java.lang.Object
de.pangaea.metadataportal.harvester.IndexBuilder
public class IndexBuilder
- extends Object
Component of panFMP that analyzes and indexes harvested documents in different threads.
- Author:
- Uwe Schindler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iconfig
protected SingleIndexConfig iconfig
IndexBuilder
public IndexBuilder(boolean create,
SingleIndexConfig iconfig)
throws IOException
- Throws:
IOException
isCreatingNew
public boolean isCreatingNew()
isFailed
public boolean isFailed()
registerHarvesterCommitEvent
public void registerHarvesterCommitEvent(HarvesterCommitEvent event)
setValidIdentifiers
public void setValidIdentifiers(Set<String> validIdentifiers)
isClosed
public boolean isClosed()
close
public void close()
throws Exception
- Throws:
Exception
addDocument
public void addDocument(MetadataDocument mdoc)
throws IndexBuilderBackgroundFailure,
InterruptedException
- Throws:
IndexBuilderBackgroundFailure
InterruptedException
checkIndexerBuffer
public void checkIndexerBuffer()
throws IndexBuilderBackgroundFailure,
InterruptedException
- Throws:
IndexBuilderBackgroundFailure
InterruptedException
setLastHarvested
public void setLastHarvested(Date datestamp)
getLastHarvestedFromDisk
public Date getLastHarvestedFromDisk()
Copyright ©2007-2011 panFMP Developers c/o Uwe Schindler