/plugin/swiftmail/Swift/Connection/ |
H A D | Rotator.php | 26 protected $connections = array(); variable in Swift_Connection_Rotator 41 public function __construct($connections=array()) argument 43 foreach ($connections as $id => $conn) 45 $this->addConnection($connections[$id], $id); 59 $this->connections[] = $connection; 73 $total = count($this->connections); 82 if (!$this->connections[$id]->isAlive()) $this->connections[$id]->start(); 83 if ($this->connections[$id]->isAlive()) 91 $this->connections[$id]->stop(); 142 foreach ($this->connections as $id => $conn) [all …]
|
H A D | Multi.php | 26 protected $connections = array(); variable in Swift_Connection_Multi 36 public function __construct($connections=array()) argument 38 foreach ($connections as $id => $conn) 40 $this->addConnection($connections[$id], $id); 55 if ($id !== null) $this->connections[$id] = $connection; 56 else $this->connections[] = $connection; 69 return $this->connections[$this->active]->read(); 92 foreach ($this->connections as $id => $conn) 95 $this->connections[$id]->start(); 96 if ($this->connections[$id]->isAlive()) [all …]
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/ |
H A D | StickyRoundRobinSelector.php | 38 * @param ConnectionInterface[] $connections Array of connections to choose from 40 public function select(array $connections): ConnectionInterface argument 43 * @var ConnectionInterface[] $connections 45 if ($connections[$this->current]->isAlive()) { 46 return $connections[$this->current]; 50 $this->current = $this->currentCounter % count($connections); 52 return $connections[$this->current];
|
H A D | RandomSelector.php | 28 * @param ConnectionInterface[] $connections an array of ConnectionInterface instances to choose from 30 public function select(array $connections): ConnectionInterface argument 32 return $connections[array_rand($connections)];
|
H A D | RoundRobinSelector.php | 33 * @param ConnectionInterface[] $connections an array of ConnectionInterface instances to choose from 35 public function select(array $connections): ConnectionInterface argument 37 $returnConnection = $connections[$this->current % count($connections)];
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/ |
H A D | AbstractConnectionPool.php | 29 * Array of connections 33 protected $connections; variable in Elasticsearch\\ConnectionPool\\AbstractConnectionPool 36 * Array of initial seed connections 62 * @param ConnectionInterface[] $connections The Connections to choose from 63 * @param SelectorInterface $selector A Selector instance to perform the selection logic for the available connections 67 public function __construct(array $connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, array $connectionPoolParams) argument 69 $paramList = array('connections', 'selector', 'connectionPoolParams'); 79 shuffle($connections); 82 $this->connections = $connections; [all...] |
H A D | SniffingConnectionPool.php | 43 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument 45 parent::__construct($connections, $selector, $factory, $connectionPoolParams); 55 $size = count($this->connections); 60 $connection = $this->selector->select($this->connections); 84 $total = count($this->connections); 90 $connection = $this->selector->select($this->connections); 126 $this->connections = array(); 133 $this->connections[] = $this->connectionFactory->create($nodeDetails);
|
H A D | StaticConnectionPool.php | 42 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument 44 parent::__construct($connections, $selector, $factory, $connectionPoolParams); 52 $total = count($this->connections); 57 $connection = $this->selector->select($this->connections); 83 foreach ($this->connections as $connection) {
|
H A D | StaticNoPingConnectionPool.php | 42 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument 44 parent::__construct($connections, $selector, $factory, $connectionPoolParams); 49 $total = count($this->connections); 54 $connection = $this->selector->select($this->connections);
|
H A D | SimpleConnectionPool.php | 32 public function __construct($connections, SelectorInterface $selector, ConnectionFactoryInterface $factory, $connectionPoolParams) argument 34 parent::__construct($connections, $selector, $factory, $connectionPoolParams); 39 return $this->selector->select($this->connections);
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudRun/ |
H A D | GoogleCloudRunOpV2CloudSqlInstance.php | 26 public $connections; variable in Google\\Service\\CloudRun\\GoogleCloudRunOpV2CloudSqlInstance 31 public function setConnections($connections) argument 33 $this->connections = $connections; 40 return $this->connections;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ServiceNetworking/ |
H A D | ListConnectionsResponse.php | 29 public function setConnections($connections) argument 31 $this->connections = $connections; 38 return $this->connections;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/BigQueryConnectionService/ |
H A D | ListConnectionsResponse.php | 33 public function setConnections($connections) argument 35 $this->connections = $connections; 42 return $this->connections;
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/ |
H A D | ConnectionPool.php | 33 public function __construct(array $connections, StrategyInterface $strategy, ?callable $callback = null) argument 35 $this->_connections = $connections; 51 * @param Connection[] $connections 55 public function setConnections(array $connections): self argument 57 $this->_connections = $connections;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Connectors/ |
H A D | ListConnectionsResponse.php | 37 public function setConnections($connections) argument 39 $this->connections = $connections; 46 return $this->connections;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/PeopleService/ |
H A D | ListConnectionsResponse.php | 45 public function setConnections($connections) argument 47 $this->connections = $connections; 54 return $this->connections;
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Connection/Strategy/ |
H A D | RoundRobin.php | 17 public function getConnection(array $connections): Connection argument 19 \shuffle($connections); 21 return parent::getConnection($connections);
|
H A D | StrategyInterface.php | 15 * @param Connection[] $connections 17 public function getConnection(array $connections): Connection; argument
|
H A D | CallbackStrategy.php | 27 public function getConnection(array $connections): Connection argument 29 return ($this->_callback)($connections);
|
H A D | Simple.php | 18 public function getConnection(array $connections): Connection argument 20 foreach ($connections as $connection) {
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/StreetViewPublish/ |
H A D | Photo.php | 83 public function setConnections($connections) argument 85 $this->connections = $connections; 92 return $this->connections;
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | Client.php | 383 * Establishes the client connections. 437 * @param array|Connection[] $connections 441 public function setConnections(array $connections) 443 $this->_connectionPool->setConnections($connections); 661 * Inits the client connections. 665 $connections = []; 667 foreach ($this->getConfig('connections') as $connection) { 668 $connections[] = Connection::create($this->_prepareConnectionParams($connection)); 674 $connections[] = Connection::create($this->_prepareConnectionParams($server)); 678 // If no connections se 420 setConnections(array $connections) global() argument [all...] |
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/ |
H A D | selectors.asciidoc | 4 The connection pool maintains the list of connections, and decides when nodes 6 connections, however. That job belongs to the selector class. 9 connections. Like the connection pool, there are several implementations to 16 This selector returns connections in a round-robin fashion. Node #1 is selected 44 shared-nothing and tend to exit quickly, creating new connections for each 106 * @param array $connections Array of Connection objects 110 public function select($connections)
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/SecurityCommandCenter/ |
H A D | Finding.php | 153 public function setConnections($connections) argument 155 $this->connections = $connections; 162 return $this->connections;
|
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ |
H A D | BigQueryConnectionService.php | 66 'connections', 70 'path' => 'v1beta1/{+parent}/connections', 114 'path' => 'v1beta1/{+parent}/connections',
|