public function SolrConnectorPluginBase::getFinalizeTimeout in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getFinalizeTimeout()
- 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getFinalizeTimeout()
Get the finalize timeout.
Parameters
\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.
Return value
int The current finalize timeout value.
Overrides SolrConnectorInterface::getFinalizeTimeout
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 1148
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getFinalizeTimeout(?Endpoint $endpoint = NULL) {
$this
->connect();
if (!$endpoint) {
$endpoint = $this->solr
->getEndpoint();
}
return $endpoint
->getOption(self::FINALIZE_TIMEOUT);
}