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, nodeNamepublic static final EmptyClusterInfoService INSTANCE
public ClusterInfo getClusterInfo()
ClusterInfoServicegetClusterInfo in interface ClusterInfoServicepublic void addListener(ClusterInfoService.Listener listener)
ClusterInfoServiceaddListener in interface ClusterInfoServiceCopyright © 2009–2016. All rights reserved.