|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueueService
QueueService is an interface used by a crawler plugin to submit or retrieve URL-related data.
| Method Summary | |
|---|---|
int |
enqueue(DocumentMetadata docNode)If the display URL does not exist in the data source, it is created and put into the queue. |
int |
enqueue(String displayUrl, String accessUrl, int depth)If the display URL does not exist in the data source, it is created and put into the queue. |
void |
enqueueExistingURLs() |
void |
enqueueExistingURLs(int statusCode) |
void |
enqueueNotIndexedURLs() |
DocumentMetadata |
getNextItem() |
int |
getQueueSize()get the size of the queue |
boolean |
isEnqueued(String displayURL)check whether the given URL is in the queue or not |
boolean |
isQueueEmpty() |
void |
purgeQueue()clean up the queue |
void |
purgeQueue(int statusCode) |
void |
removeUrlNotInQueue() |
void |
stopQueueService() |
| Method Detail |
|---|
int enqueue(DocumentMetadata docNode)
docNode - the document metadata
int enqueue(String displayUrl,
String accessUrl,
int depth)
displayUrl - - the display URLaccessUrl - - the access URL, which can be nulldepth - - the depth of the documentvoid enqueueExistingURLs()
void enqueueExistingURLs(int statusCode)
statusCode - the document status codevoid enqueueNotIndexedURLs()
boolean isQueueEmpty()
boolean isEnqueued(String displayURL)
DocumentMetadata getNextItem()
int getQueueSize()
void purgeQueue()
void purgeQueue(int statusCode)
statusCode - the document status codevoid stopQueueService()
void removeUrlNotInQueue()
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||