java.lang.Object
org.elasticsearch.cluster.EmptyClusterInfoService
- All Implemented Interfaces:
ClusterInfoService
ClusterInfoService that provides empty maps for disk usage and shard sizes-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Consumer<ClusterInfo> clusterInfoConsumer) Add a listener for new cluster information
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EmptyClusterInfoService
public EmptyClusterInfoService()
-
-
Method Details
-
getClusterInfo
- Specified by:
getClusterInfoin interfaceClusterInfoService- Returns:
- the latest cluster information
-
addListener
Description copied from interface:ClusterInfoServiceAdd a listener for new cluster information- Specified by:
addListenerin interfaceClusterInfoService
-