public interface ClusterTopologyMonitor extends Monitor
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDispose()
Defines whether this monitor can be disposed.
|
java.util.List<HostSpec> |
forceRefresh(boolean writerImportant,
long timeoutMs) |
java.util.List<HostSpec> |
forceRefresh(@Nullable java.sql.Connection connection,
long timeoutMs) |
void |
setClusterId(java.lang.String clusterId) |
boolean canDispose()
MonitorcanDispose in interface Monitorvoid setClusterId(java.lang.String clusterId)
java.util.List<HostSpec> forceRefresh(boolean writerImportant, long timeoutMs) throws java.sql.SQLException, java.util.concurrent.TimeoutException
java.sql.SQLExceptionjava.util.concurrent.TimeoutExceptionjava.util.List<HostSpec> forceRefresh(@Nullable java.sql.Connection connection, long timeoutMs) throws java.sql.SQLException, java.util.concurrent.TimeoutException
java.sql.SQLExceptionjava.util.concurrent.TimeoutException