Class InternalClusterInfoService

java.lang.Object
org.elasticsearch.cluster.InternalClusterInfoService
All Implemented Interfaces:
ClusterInfoService, ClusterStateListener

public class InternalClusterInfoService extends Object implements ClusterInfoService, ClusterStateListener
InternalClusterInfoService provides the ClusterInfoService interface, routinely updated on a timer. The timer can be dynamically changed by setting the cluster.info.update.interval setting (defaulting to 30 seconds). The InternalClusterInfoService only runs on the master node. Listens for changes in the number of data nodes and immediately submits a ClusterInfoUpdateJob if a node has been added. Every time the timer runs, gathers information about the disk usage and shard sizes across the cluster.