In certain cases, an indexing job cannot be executed immediately when it is invoked:
If there is currently another indexing job running
If an ATG Content Administration deployment is in progress
To handle these cases, ProductCatalogSimpleIndexingAdmin
invokes the /atg/endeca/index/InMemoryJobQueue
component. This component, which is of class atg.endeca.index.admin.InMemoryJobQueue
, implements a memory-based indexing job queue that manages these jobs on a first-in, first-out basis.
In addition, the queue handles the case where an indexing job is in progress when an ATG Content Administration deployment is started. In this situation, the job in progress is stopped, moved to the top of the queue (ahead of any other pending jobs), and restarted when the deployment is complete.
Queued jobs are listed on the ProductCatalogSimpleIndexingAdmin
page in the Component Browser of the Dynamo Server Admin. In the following example, an indexing job has been stopped due to an ATG Content Administration deployment, and moved to the queue to be restarted once the deployment completes: