public interface ClusterTopologyInfoProvider
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ClusterTopologyInfoUpdatesListener listener)
Subscribe a listener for cluster topology updates.
|
void |
fetchAndNotify()
Check whether we need to fetch topology information.
|
void |
removeListener(ClusterTopologyInfoUpdatesListener listener)
Unsubscribe a listener from cluster topology updates.
|
void addListener(ClusterTopologyInfoUpdatesListener listener)
listener - cluster topology updates listenervoid fetchAndNotify()
throws SQLException
SQLException - if failed to establish connection or fetch the cluster metadata.void removeListener(ClusterTopologyInfoUpdatesListener listener)
listener - cluster topology updates listenerCopyright © 2026 Picodata. All rights reserved.