public class JdbcThinTcpIo extends Object
| Constructor and Description |
|---|
JdbcThinTcpIo(ConnectionProperties connProps)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the client IO.
|
ConnectionProperties |
connectionProperties() |
protected InetAddress[] |
getAllAddressesByHost(String host)
Get all addresses by host name.
|
void |
handshake(ClientListenerProtocolVersion ver)
Used for versions: 2.1.5 and 2.3.0.
|
void |
start() |
void |
start(int timeout) |
public JdbcThinTcpIo(ConnectionProperties connProps)
connProps - Connection properties.public void start()
throws SQLException,
IOException
SQLException - On connection error or reject.IOException - On IO error in handshake.public void start(int timeout)
throws SQLException,
IOException
timeout - Socket connection timeout in ms.SQLException - On connection error or reject.IOException - On IO error in handshake.protected InetAddress[] getAllAddressesByHost(String host) throws UnknownHostException
host - Host name.UnknownHostException - If host is unavailable.public void handshake(ClientListenerProtocolVersion ver) throws IOException, SQLException
ver - JDBC client version.IOException - On IO error.SQLException - On connection reject.public void close()
public ConnectionProperties connectionProperties()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018