Heyday\Elastica\Jobs\ReindexAfterWriteJob
Class ReindexAfterWriteJob
Synopsis
class ReindexAfterWriteJob
extends AbstractQueuedJob
implements
QueuedJob
{
- // methods
- public void __construct()
- public string getTitle()
- public int getJobType()
- public void process()
- protected void updateDependentClasses()
- public scalar dependentClasses()
Hierarchy
Extends
- Symbiote\QueuedJobs\Services\AbstractQueuedJob
Implements
- Symbiote\QueuedJobs\Services\QueuedJob
Methods
protected
- updateDependentClasses() — Updates the records of all instances of dependent classes.
public
- __construct() — get the instance to reindex and the service ReindexAfterWriteJob constructor.
- dependentClasses() — Return an array of dependant class names. These are classes that need to be reindexed when an instance of the extended class is updated or when a relationship to it changes.
- getJobType() — Indicate to the system which queue we think we should be in based on how many objects we're going to touch on while processing.
- getTitle() — Defines the title of the job
- process() — Lets process