public class TopologyRefresherImpl extends java.lang.Object implements TopologyRefresher
TopologyRefresher: refreshes the host list and records the writer host,
reproducing the legacy ReadWriteSplittingPlugin.refreshAndStoreTopology. The refresh no
longer depends on the current connection (the host list provider does not use it), so it is
always attempted.| Constructor and Description |
|---|
TopologyRefresherImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
refresh(RwSplitContext ctx) |
public void refresh(RwSplitContext ctx) throws java.sql.SQLException
refresh in interface TopologyRefresherjava.sql.SQLException