Wilr\Silverstripe\Algolia\Jobs\AlgoliaIndexItemJob
Index an item (or multiple items) into Algolia async. This method works well for performance and batching large indexes
Synopsis
class AlgoliaIndexItemJob
extends AbstractQueuedJob
implements
QueuedJob
{
- // methods
- public void __construct()
- public string getTitle()
- public int getJobType()
- public void setup()
- public void process()
Hierarchy
Extends
- Symbiote\QueuedJobs\Services\AbstractQueuedJob
Implements
- Symbiote\QueuedJobs\Services\QueuedJob
Methods
public
- __construct()
- getJobType()
- getTitle() — Defines the title of the job.
- process() — Lets process a single node
- setup() — This is called immediately before a job begins - it gives you a chance to initialise job data and make sure everything's good to go