|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.crawler.system.DocumentDeleteSet
public class DocumentDeleteSet
This class is what's actually queued for delete threads. It represents an array of DocumentDescription objects, of an appropriate size to be a decent chunk. It will be processed by a single delete worker thread, in bulk.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
protected DeleteQueuedDocument[] |
documents
This is the array of documents to delete. |
protected IJobDescription |
jobDescription
The job description for this set of documents. |
| Constructor Summary | |
|---|---|
DocumentDeleteSet(DeleteQueuedDocument[] documents,
IJobDescription jobDescription)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getCount()
Get the number of documents. |
DeleteQueuedDocument |
getDocument(int index)
Get the nth document. |
IJobDescription |
getJobDescription()
Get the job description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
protected DeleteQueuedDocument[] documents
protected IJobDescription jobDescription
| Constructor Detail |
|---|
public DocumentDeleteSet(DeleteQueuedDocument[] documents,
IJobDescription jobDescription)
documents - is the arraylist representing the documents for this chunk.jobDescription - is the job description for all the documents.| Method Detail |
|---|
public IJobDescription getJobDescription()
public int getCount()
public DeleteQueuedDocument getDocument(int index)
index - is the document number.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||