You are here

public function PushQueueInterface::claimItem in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 modules/salesforce_push/src/PushQueueInterface.php \Drupal\salesforce_push\PushQueueInterface::claimItem()
  2. 5.0.x 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_push

Code

public function claimItem($lease_time = NULL);