Class SystemIndices.Feature

java.lang.Object
org.elasticsearch.indices.SystemIndices.Feature
Enclosing class:
SystemIndices

public static class SystemIndices.Feature
extends java.lang.Object
Class holding a description of a stateful feature.
  • Constructor Details

    • Feature

      public Feature​(java.lang.String description, java.util.Collection<SystemIndexDescriptor> indexDescriptors, java.util.Collection<SystemDataStreamDescriptor> dataStreamDescriptors, java.util.Collection<AssociatedIndexDescriptor> associatedIndexDescriptors, TriConsumer<ClusterService,​Client,​ActionListener<ResetFeatureStateResponse.ResetFeatureStateStatus>> cleanUpFunction)
      Construct a Feature with a custom cleanup function
      Parameters:
      description - Description of the feature
      indexDescriptors - Collection of objects describing system indices for this feature
      dataStreamDescriptors - Collection of objects describing system data streams for this feature
      associatedIndexDescriptors - Collection of objects describing associated indices for this feature
      cleanUpFunction - A function that will clean up the feature's state
    • Feature

      public Feature​(java.lang.String name, java.lang.String description, java.util.Collection<SystemIndexDescriptor> indexDescriptors)
      Construct a Feature using the default clean-up function
      Parameters:
      name - Name of the feature, used in logging
      description - Description of the feature
      indexDescriptors - Patterns describing system indices for this feature
    • Feature

      public Feature​(java.lang.String name, java.lang.String description, java.util.Collection<SystemIndexDescriptor> indexDescriptors, java.util.Collection<SystemDataStreamDescriptor> dataStreamDescriptors)
      Construct a Feature using the default clean-up function
      Parameters:
      name - Name of the feature, used in logging
      description - Description of the feature
      indexDescriptors - Patterns describing system indices for this feature
      dataStreamDescriptors - Collection of objects describing system data streams for this feature
  • Method Details