public class JdbcThinTcpIo extends Object
| Constructor and Description |
|---|
JdbcThinTcpIo(ConnectionProperties connProps,
InetSocketAddress sockAddr,
int timeout)
Start connection and perform handshake.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the client IO.
|
ConnectionProperties |
connectionProperties() |
UUID |
nodeId() |
int |
timeout()
Returns socket timeout.
|
void |
timeout(int ms)
Enable/disable socket timeout with specified timeout.
|
public JdbcThinTcpIo(ConnectionProperties connProps, InetSocketAddress sockAddr, int timeout) throws SQLException, IOException
connProps - Connection properties.sockAddr - Socket address.timeout - Socket connection timeout in ms.SQLException - On connection error or reject.IOException - On IO error in handshake.public void close()
public ConnectionProperties connectionProperties()
public void timeout(int ms)
throws SQLException
ms - the specified timeout, in milliseconds.SQLException - if there is an error in the underlying protocol.public int timeout()
throws SQLException
SQLException - if there is an error in the underlying protocol.public UUID nodeId()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020