public interface ClusterInfoService
Modifier and Type | Interface and Description |
---|---|
static interface |
ClusterInfoService.Listener
Interface for listeners to implement in order to perform actions when
new information about the cluster has been gathered
|
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
|
ClusterInfo getClusterInfo()
void addListener(ClusterInfoService.Listener listener)