public static class ChangeQueue.DefaultCrawlActivityLogger extends java.lang.Object implements ChangeQueue.CrawlActivityLogger
| Constructor and Description |
|---|
DefaultCrawlActivityLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
gotChangedDocument(java.lang.String documentId)
To record that crawling thread just received a document for
which either the content or the meta data or both have changed since the
last scan.
|
void |
gotDeletedDocument(java.lang.String documentId)
To record that crawling thread just found out that the
previously existing document got deleted and is no longer present.
|
void |
gotNewDocument(java.lang.String documentId)
To record that crawling thread just received a new document
which was not present in the last scan.
|
void |
scanBeginAt(java.sql.Timestamp time)
Records the start time of the scan.
|
void |
scanEndAt(java.sql.Timestamp time)
Records the end time of the scan.
|
public void scanBeginAt(java.sql.Timestamp time)
ChangeQueue.CrawlActivityLoggerscanBeginAt in interface ChangeQueue.CrawlActivityLoggertime - timestamp of the start timepublic void scanEndAt(java.sql.Timestamp time)
ChangeQueue.CrawlActivityLoggerscanEndAt in interface ChangeQueue.CrawlActivityLoggertime - timestamp of the end timepublic void gotChangedDocument(java.lang.String documentId)
ChangeQueue.CrawlActivityLoggergotChangedDocument in interface ChangeQueue.CrawlActivityLoggerdocumentId - Id for the changed documentpublic void gotDeletedDocument(java.lang.String documentId)
ChangeQueue.CrawlActivityLoggergotDeletedDocument in interface ChangeQueue.CrawlActivityLoggerdocumentId - id of the deleted documentpublic void gotNewDocument(java.lang.String documentId)
ChangeQueue.CrawlActivityLoggergotNewDocument in interface ChangeQueue.CrawlActivityLoggerdocumentId - Id of the newly added document