Class SearchableSnapshotFeatureSetUsage

java.lang.Object
org.elasticsearch.xpack.core.XPackFeatureUsage
org.elasticsearch.xpack.core.searchablesnapshots.SearchableSnapshotFeatureSetUsage
All Implemented Interfaces:
NamedWriteable, VersionedNamedWriteable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class SearchableSnapshotFeatureSetUsage extends XPackFeatureUsage
  • Constructor Details

    • SearchableSnapshotFeatureSetUsage

      public SearchableSnapshotFeatureSetUsage(StreamInput input) throws IOException
      Throws:
      IOException
    • SearchableSnapshotFeatureSetUsage

      public SearchableSnapshotFeatureSetUsage(boolean available, int numberOfFullCopySearchableSnapshotIndices, int numberOfSharedCacheSearchableSnapshotIndices)
  • Method Details

    • getMinimalSupportedVersion

      public TransportVersion getMinimalSupportedVersion()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class XPackFeatureUsage
      Throws:
      IOException
    • innerXContent

      protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Overrides:
      innerXContent in class XPackFeatureUsage
      Throws:
      IOException
    • getNumberOfSearchableSnapshotIndices

      public int getNumberOfSearchableSnapshotIndices()
    • getNumberOfFullCopySearchableSnapshotIndices

      public int getNumberOfFullCopySearchableSnapshotIndices()
    • getNumberOfSharedCacheSearchableSnapshotIndices

      public int getNumberOfSharedCacheSearchableSnapshotIndices()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object