interface ClientManagerInterface in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 src/ElasticSearch/ClientManagerInterface.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface
- 8.2 src/ElasticSearch/ClientManagerInterface.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface
- 8.6 src/ElasticSearch/ClientManagerInterface.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface
Client manager interface.
Hierarchy
- interface \Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface
Expanded class hierarchy of ClientManagerInterface
All classes that implement ClientManagerInterface
7 files declare their use of ClientManagerInterface
- ClusterDeleteForm.php in src/
Form/ ClusterDeleteForm.php - ClusterForm.php in src/
Form/ ClusterForm.php - ClusterListBuilder.php in src/
Controller/ ClusterListBuilder.php - ElasticsearchController.php in src/
Controller/ ElasticsearchController.php - IndexDeleteForm.php in src/
Form/ IndexDeleteForm.php
File
- src/
ElasticSearch/ ClientManagerInterface.php, line 13
Namespace
Drupal\elasticsearch_connector\ElasticSearchView source
interface ClientManagerInterface {
/**
* Create a client manager.
*
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* Module handler service.
* @param \nodespark\DESConnector\ClientFactoryInterface $clientManagerFactory
* Client factory.
*/
public function __construct(ModuleHandlerInterface $module_handler, ClientFactoryInterface $clientManagerFactory);
/**
* Get a client to interact with the given Elasticsearch cluster.
*
* @param \Drupal\elasticsearch_connector\Entity\Cluster $cluster
* Cluster to get a client for.
*
* @return \nodespark\DESConnector\ClientInterface
* Client object to interact with the given cluster.
*/
public function getClientForCluster(Cluster $cluster);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClientManagerInterface:: |
public | function | Get a client to interact with the given Elasticsearch cluster. | 1 |
ClientManagerInterface:: |
public | function | Create a client manager. | 1 |