public class EmptyClusterInfoService extends AbstractComponent implements ClusterInfoService
ClusterInfoService.Listener
componentSettings, logger, settings
EMPTY
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() |
nodeName
public static EmptyClusterInfoService getInstance()
public ClusterInfo getClusterInfo()
ClusterInfoService
getClusterInfo
in interface ClusterInfoService
public void addListener(ClusterInfoService.Listener listener)
ClusterInfoService
addListener
in interface ClusterInfoService
Copyright © 2009–2015. All rights reserved.