public class GlobalAuroraTopologyMonitor extends ClusterTopologyMonitorImpl
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,HostSpec> |
instanceTemplatesByRegion |
protected GlobalAuroraTopologyUtils |
topologyUtils |
closeConnectionNetworkTimeoutMs, clusterId, completedOneCycle, defaultConnectionTimeoutMs, defaultSocketTimeoutMs, highRefreshPeriodAfterPanicNano, highRefreshRateEndTimeNano, highRefreshRateNano, hostSpecExtractor, initialHostSpec, instanceTemplate, isVerifiedWriterConnection, logUnclosedConnections, MONITORING_PROPERTY_PREFIX, monitoringConnection, monitoringProperties, monitorTerminationTimeoutSec, networkTimeoutExecutor, nodeExecutorLock, nodeExecutorService, nodeThreadsLatestTopology, nodeThreadsReaderConnection, nodeThreadsStop, nodeThreadsWriterConnection, nodeThreadsWriterHostSpec, properties, rdsHelper, readerTopologiesById, refreshRateNano, requestToUpdateTopology, servicesContainer, stableTopologiesDurationNano, stableTopologiesStartNano, submittedNodes, topologyUpdated, writerHostSpeclastActivityTimestampNanos, monitorExecutor, state, stop, terminationTimeoutSec| Constructor and Description |
|---|
GlobalAuroraTopologyMonitor(FullServicesContainer servicesContainer,
GlobalAuroraTopologyUtils topologyUtils,
java.lang.String clusterId,
HostSpec initialHostSpec,
java.util.Properties properties,
HostSpec instanceTemplate,
long refreshRateNano,
long highRefreshRateNano,
java.util.Map<java.lang.String,HostSpec> instanceTemplatesByRegion) |
| Modifier and Type | Method and Description |
|---|---|
protected HostSpec |
getInstanceTemplate(java.lang.String instanceId,
java.sql.Connection connection) |
java.util.List<Pair<java.lang.String,java.lang.Object>> |
getSnapshotState() |
protected java.util.List<HostSpec> |
queryForTopology(java.sql.Connection connection) |
canDispose, checkForStableReaderTopologies, clearTopologyCache, close, closeConnection, closeNodeMonitors, createNodeExecutorService, delay, fetchTopologyAndUpdateCache, forceRefresh, getNodeMonitoringWorker, isInPanicMode, monitor, nodeThreadConnectionCleanUp, openAnyConnectionAndUpdateTopology, processEvent, reset, stop, updateHostsAvailability, updateTopologyCache, waitForTopologyUpdategetLastActivityTimestampNanos, getState, run, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLastActivityTimestampNanos, getState, startprotected final java.util.Map<java.lang.String,HostSpec> instanceTemplatesByRegion
protected final GlobalAuroraTopologyUtils topologyUtils
public GlobalAuroraTopologyMonitor(FullServicesContainer servicesContainer, GlobalAuroraTopologyUtils topologyUtils, java.lang.String clusterId, HostSpec initialHostSpec, java.util.Properties properties, HostSpec instanceTemplate, long refreshRateNano, long highRefreshRateNano, java.util.Map<java.lang.String,HostSpec> instanceTemplatesByRegion)
protected HostSpec getInstanceTemplate(java.lang.String instanceId, java.sql.Connection connection) throws java.sql.SQLException
getInstanceTemplate in class ClusterTopologyMonitorImpljava.sql.SQLExceptionprotected java.util.List<HostSpec> queryForTopology(java.sql.Connection connection) throws java.sql.SQLException
queryForTopology in class ClusterTopologyMonitorImpljava.sql.SQLExceptionpublic java.util.List<Pair<java.lang.String,java.lang.Object>> getSnapshotState()
getSnapshotState in interface StateSnapshotProvidergetSnapshotState in class ClusterTopologyMonitorImpl