org.apache.manifoldcf.crawler.jobs
Class JobManager.QueueHashItem

java.lang.Object
  extended by org.apache.manifoldcf.crawler.jobs.JobManager.QueueHashItem
Enclosing class:
JobManager

protected static class JobManager.QueueHashItem
extends java.lang.Object

This class contains information per job on how many queue items have so far been accumulated.


Constructor Summary
JobManager.QueueHashItem(int itemsPerChunk)
          Construct.
 
Method Summary
 void addDocument()
          Add a document to this job.
 JobManager.QueueHashItem duplicate()
          Duplicate.
 int getChunkCount()
          Get the number of chunks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobManager.QueueHashItem

public JobManager.QueueHashItem(int itemsPerChunk)
Construct.

Parameters:
itemsPerChunk - is the number of items per chunk for this job.
Method Detail

duplicate

public JobManager.QueueHashItem duplicate()
Duplicate.


addDocument

public void addDocument()
Add a document to this job.


getChunkCount

public int getChunkCount()
Get the number of chunks.

Returns:
the number of chunks.