public function AcquiaPurgeQueueStatusInterface::setStatusContext in Acquia Purge 7
Set (or reset) status context to the executor instance next in line.
Parameters
string|null $id: Unique string based on the processing executor processing the object.
Throws
\LogicException Thrown when the given parameter is empty, not a string or NULL.
\LogicException Thrown when the last set status was not any of:
See also
AcquiaPurgeQueueStatusInterface::setStatus()
1 method overrides AcquiaPurgeQueueStatusInterface::setStatusContext()
- AcquiaPurgeInvalidation::setStatusContext in lib/
invalidation/ AcquiaPurgeInvalidation.php - Since queue items hold multiple invalidations, the context is kept local.
File
- lib/
queue/ AcquiaPurgeQueueStatusInterface.php, line 106
Class
- AcquiaPurgeQueueStatusInterface
- Describes objects capable of letting multiple actors set a SUCCEEDED or FAILED status, which can then be evaluated to a single overall outcome.
Code
public function setStatusContext($id);