You are here

public function SolrConnectorInterface::getTimeout in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getTimeout()
  2. 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::getTimeout()

Get the query timeout.

Parameters

\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.

Return value

int The current query timeout value.

1 method overrides SolrConnectorInterface::getTimeout()
SolrConnectorPluginBase::getTimeout in src/SolrConnector/SolrConnectorPluginBase.php
Get the query timeout.

File

src/SolrConnectorInterface.php, line 529

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function getTimeout(?Endpoint $endpoint = NULL);