Transport

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

buildConnections
Collection buildConnections()
Undocumented in source. Be warned that the author may not have intended to support it.
getConnection
Connection getConnection()

Returns a connection from the connection pool by delegating to Collection.

performRequest
Response performRequest(RequestMethod method, string path, ESParams parameters, string requestBody)
Undocumented in source. Be warned that the author may not have intended to support it.
performTransportRequest
Response performTransportRequest(Connection connection, RequestMethod method, string path, ESParams parameters, string requestBody)
Undocumented in source.
reloadConnections
void reloadConnections()

Reloads and replaces the connection collection based on cluster information.

resurrectDeadConnections
void resurrectDeadConnections()

Tries to "resurrect" all eligible dead connections.

transportLog
void transportLog(LogLevel level, string message)
Undocumented in source.

Properties

hosts
Host[] hosts [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
protocol
string protocol [@property getter]
Undocumented in source.

Meta