public function TimeoutAwarePsr18Adapter::getTimeout in Acquia Search 2.x
Same name and namespace in other branches
- 3.x src/Client/Adapter/TimeoutAwarePsr18Adapter.php \Drupal\acquia_search\Client\Adapter\TimeoutAwarePsr18Adapter::getTimeout()
Retrieves adapter timeout.
Return value
int Timeout in seconds.
File
- src/
Client/ Adapter/ TimeoutAwarePsr18Adapter.php, line 54
Class
- TimeoutAwarePsr18Adapter
- Psr18 Adapter that implements TimeoutAwareInterface.
Namespace
Drupal\acquia_search\Client\AdapterCode
public function getTimeout() : int {
return $this->timeout;
}