Package org.elasticsearch.indices
Class SystemIndexManager
java.lang.Object
org.elasticsearch.indices.SystemIndexManager
- All Implemented Interfaces:
ClusterStateListener
This class ensures that all system indices have up-to-date mappings, provided
those indices can be automatically managed. Only some system indices are managed
internally to Elasticsearch - others are created and managed externally, e.g.
Kibana indices.
-
Constructor Summary
ConstructorDescriptionSystemIndexManager(SystemIndices systemIndices, Client client)
Creates a new manager -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when cluster state changes.
-
Constructor Details
-
SystemIndexManager
Creates a new manager- Parameters:
systemIndices
- the indices to manageclient
- used to update the cluster
-
-
Method Details
-
clusterChanged
Description copied from interface:ClusterStateListener
Called when cluster state changes.- Specified by:
clusterChanged
in interfaceClusterStateListener
-