public class EmptyClusterInfoService extends AbstractComponent implements ClusterInfoService
ClusterInfoService.ListenercomponentSettings, logger, settingsEMPTY| 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
|
static EmptyClusterInfoService |
getInstance() |
nodeNamepublic static EmptyClusterInfoService getInstance()
public ClusterInfo getClusterInfo()
ClusterInfoServicegetClusterInfo in interface ClusterInfoServicepublic void addListener(ClusterInfoService.Listener listener)
ClusterInfoServiceaddListener in interface ClusterInfoServiceCopyright © 2009–2016. All rights reserved.