public class ResolvedHostInfo
extends java.lang.Object
| Constructor and Description |
|---|
ResolvedHostInfo(boolean isConnected,
boolean isNewHost,
java.util.List<HostInfo> topology,
JdbcConnection newConnection)
ResolvedHostInfo constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JdbcConnection |
getNewConnection()
Get new connection to a host.
|
java.util.List<HostInfo> |
getTopology()
Get latest topology.
|
boolean |
isConnected()
Checks if process result is successful and new connection to host is established.
|
boolean |
isNewHost()
Checks if process successfully connected to a new host.
|
public ResolvedHostInfo(boolean isConnected,
boolean isNewHost,
java.util.List<HostInfo> topology,
JdbcConnection newConnection)
public boolean isConnected()
public boolean isNewHost()
public java.util.List<HostInfo> getTopology()
public JdbcConnection getNewConnection()
JdbcConnection New connection to a host. Returns null if no connection is
established.