public class EmptyClusterInfoService extends AbstractComponent implements ClusterInfoService
ClusterInfoService.Listener
Modifier and Type | Field and Description |
---|---|
static EmptyClusterInfoService |
INSTANCE |
deprecationLogger, logger, settings
Modifier and Type | Method and Description |
---|---|
void |
addListener(ClusterInfoService.Listener listener)
Add a listener that will be called every time new information is gathered
|
ClusterInfo |
getClusterInfo()
The latest cluster information
|
logDeprecatedSetting, logRemovedSetting, nodeName
public static final EmptyClusterInfoService INSTANCE
public ClusterInfo getClusterInfo()
ClusterInfoService
getClusterInfo
in interface ClusterInfoService
public void addListener(ClusterInfoService.Listener listener)
ClusterInfoService
addListener
in interface ClusterInfoService