public class EndpointWriterHostRefresher extends java.lang.Object implements TopologyRefresher
TopologyRefresher for endpoint-based Global Database read/write splitting. There is no
cluster topology to refresh, but the writer host spec must be seeded from the configured write
endpoint so the Global Database writer resolver can evaluate its region (accessible-region /
home-region rules and Global Write Forwarding) before a writer connection is opened.| Constructor and Description |
|---|
EndpointWriterHostRefresher(java.lang.String writeEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
refresh(RwSplitContext ctx) |
public EndpointWriterHostRefresher(java.lang.String writeEndpoint)
public void refresh(RwSplitContext ctx)
refresh in interface TopologyRefresher