|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.2.0) E21607-01 |
|||||||||
| 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.
| Field Summary | |
|---|---|
static int |
FIFOto de-queue documents in the same order as en-queued |
static int |
LIFOto de-queue documents in reverse order as en-queued |
static int |
UNORDEREDto de-queue documents in no specific order |
| Method Summary | |
|---|---|
void |
deleteDocument(String displayURL)remove a document from the queue with the specified display URL |
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() |
| Field Detail |
|---|
static final int UNORDERED
static final int FIFO
static final int LIFO
| 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 deleteDocument(String displayURL)
displayURL - the document display URLvoid stopQueueService()
void removeUrlNotInQueue()
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.2.0) E21607-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||