Class SystemIndices.Feature

org.elasticsearch.indices.SystemIndices.Feature
Enclosing class:
SystemIndices

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

    • Feature

      public Feature( description, <SystemIndexDescriptor> indexDescriptors, <SystemDataStreamDescriptor> dataStreamDescriptors, <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( name,  description, <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( name,  description, <SystemIndexDescriptor> indexDescriptors, <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