\SearchUpdateCommitJobProcessor

Synopsis

class SearchUpdateCommitJobProcessor implements QueuedJob {
}

Hierarchy

Implements

  • QueuedJob

Members

private

  • $commit_queue — int
    The QueuedJob queue to use when processing commits
  • $cooldown — int
    If solrindex::commit has already been performed, but additional commits are necessary, how long do we wait before attempting to touch the index again?

protected

  • $completed — array
    List of completed indexes
  • $indexes — array
    List of indexes to commit
  • $messages — array
    List of messages
  • $skipped — boolean
    True if this job is skipped to be be re-scheduled in the future

public

  • $dirty_indexes — array
    List of dirty indexes to be committed
  • $has_run — boolean
    True if any commits have been executed this request. If so, any attempts to run subsequent commits should be delayed until next queuedjob to prevent solr reaching maxWarmingSearchers

Methods

protected

  • commitIndex() — Commits a specific index
  • discardJob() — Abort this job, potentially rescheduling a replacement if there is still work to do

public