Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elastica
Client
hasConnection
Elastica\Client::hasConnection PHP Method
Client Class Documentation
Show file
Open project: ruflin/elastica
hasConnection()
public
method
Determines whether a valid connection is available for use.
public
hasConnection
( ) :
boolean
return
boolean
public function hasConnection() { return $this->_connectionPool->hasConnection(); }
Client
__construct
_initConnections
_log
_populateDocumentFieldsFromResponse
_prepareConnectionParams
addConnection
addDocuments
addHeader
bulk
connect
deleteDocuments
deleteIds
getCluster
getConfig
getConfigValue
getConnection
getConnectionStrategy
getConnections
getIndex
getLastRequest
getLastResponse
getStatus
getVersion
hasConnection
optimizeAll
refreshAll
removeHeader
request
setConfig
setConfigValue
setConnections
setLogger
updateDocument
updateDocuments