Class FeatureService

java.lang.Object
org.elasticsearch.features.FeatureService

public class FeatureService extends Object
Manages information on the features supported by nodes in the cluster
  • Field Details

    • FEATURES_SUPPORTED

      public static final NodeFeature FEATURES_SUPPORTED
      A feature indicating that node features are supported.
    • CLUSTER_FEATURES_ADDED_VERSION

      public static final Version CLUSTER_FEATURES_ADDED_VERSION
  • Constructor Details

  • Method Details

    • getNodeFeatures

      public Map<String,NodeFeature> getNodeFeatures()
      The non-historical features supported by this node.
    • clusterHasFeature

      public boolean clusterHasFeature(ClusterState state, NodeFeature feature)
      Returns true if all nodes in state support feature feature.