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.CrawlActivityLogger
scanBeginAt
in interface ChangeQueue.CrawlActivityLogger
time
- timestamp of the start timepublic void scanEndAt(java.sql.Timestamp time)
ChangeQueue.CrawlActivityLogger
scanEndAt
in interface ChangeQueue.CrawlActivityLogger
time
- timestamp of the end timepublic void gotChangedDocument(java.lang.String documentId)
ChangeQueue.CrawlActivityLogger
gotChangedDocument
in interface ChangeQueue.CrawlActivityLogger
documentId
- Id for the changed documentpublic void gotDeletedDocument(java.lang.String documentId)
ChangeQueue.CrawlActivityLogger
gotDeletedDocument
in interface ChangeQueue.CrawlActivityLogger
documentId
- id of the deleted documentpublic void gotNewDocument(java.lang.String documentId)
ChangeQueue.CrawlActivityLogger
gotNewDocument
in interface ChangeQueue.CrawlActivityLogger
documentId
- Id of the newly added document