public interface ClusterConfigurationMonitor
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ClusterConfigurationMonitor.ConfigurationChangeListener
Monitor listener interface for receiving notifications that a configuration has changed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ClusterConfigurationMonitor.ConfigurationChangeListener listener)
Register for notifications from the monitor.
|
void |
clearCache(String source,
String clusterName)
Clear the configuration data cache for the specified source and cluster name.
|
void |
setPollingInterval(int interval) |
void |
start()
Start the monitor.
|
void |
stop()
Stop the monitor.
|
void start()
void stop()
void setPollingInterval(int interval)
interval - The polling interval, in secondsvoid addListener(ClusterConfigurationMonitor.ConfigurationChangeListener listener)
listener - ConfigurationChangeListenerCopyright © 2022 The Apache Software Foundation. All rights reserved.