Class EmptyClusterInfoService

java.lang.Object
org.elasticsearch.cluster.EmptyClusterInfoService
All Implemented Interfaces:
ClusterInfoService

public class EmptyClusterInfoService
extends java.lang.Object
implements ClusterInfoService
ClusterInfoService that provides empty maps for disk usage and shard sizes
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static EmptyClusterInfoService INSTANCE  
  • Constructor Summary

    Constructors 
    Constructor Description
    EmptyClusterInfoService()  
  • Method Summary

    Modifier and Type Method Description
    void addListener​(java.util.function.Consumer<ClusterInfo> clusterInfoConsumer)
    Add a listener for new cluster information
    ClusterInfo getClusterInfo()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait