DocumentIndexDaemonLegacy
class DocumentIndexDaemonLegacy
Traits
Constants
private QUEUE_CHECK_INTERVAL |
|
private SQL_GENERIC_LIMIT |
|
private CLUSTERS_PER_THREAD |
|
private JOBS_PER_THREAD |
|
private HOOKS_PER_THREAD |
|
private SAMPLE_USER_EVALUATIONS_PER_PROCESS |
|
Properties
xm_system_admin | $mod |
Methods
No description
Initializes the index process.
Starts the document index process.
Populate Cluster
Process Cluster Eval
This method is the callback for a threaded process to evaluate document index policy cluster.
Loads all index hooks and executes them to process the document index.
Process Hooks
This step performs sorting for deletion and update on queued document indexes and jobs as preparation for the actual indexing.
Run various Maintenance Tasks
Details
at line 79
__construct(SystemDaemon $DaemonControllerObject)
DocumentIndexDaemonLegacy constructor.
at line 205
logThreadStatus($message)
No description
at line 89
prepare()
Initializes the index process.
Prepares the process by requeue jobs in case of a restart/crash, create missing document indexes and delete all old document indexes in batch mode.
at line 107
bool
process()
Starts the document index process.
This method executes the index, cluster and hook process in single threads at the same time but only with one running thread per process type. Every time a threaded process stops, a new thread of this type is started at next call of this method.
at line 320
processCluster()
Populate Cluster
at line 424
processClusterEval()
Process Cluster Eval
at line 542
processClusterEvalDocuments(int $sampleUserId, array $jobs)
This method is the callback for a threaded process to evaluate document index policy cluster.
in
DaemonHelperTrait at line 19
processDocumentIndexByHooks(DocumentIndex $document_index, mixed $status, mixed $user_id)
Loads all index hooks and executes them to process the document index.
at line 584
processHooks()
Process Hooks
at line 233
processIndex()
This step performs sorting for deletion and update on queued document indexes and jobs as preparation for the actual indexing.
at line 212
processMaintenance()
Run various Maintenance Tasks