public function PushQueueInterface::claimItem in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::claimItem()
- 8.3 modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::claimItem()
Inherited classes MUST throw an exception when this method is called.
Use claimItems() instead.
Parameters
int $lease_time: How long should the item remain claimed until considered released?
Throws
\Exception Whenever called.
Overrides QueueInterface::claimItem
File
- modules/
salesforce_push/ src/ PushQueueInterface.php, line 42
Class
- PushQueueInterface
- Push queue interface.
Namespace
Drupal\salesforce_pushCode
public function claimItem($lease_time = NULL);