Module org.elasticsearch.xcore
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.core.XPackFeatureUsage
available, enabled, nameFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionSearchableSnapshotFeatureSetUsage(boolean available, int numberOfFullCopySearchableSnapshotIndices, int numberOfSharedCacheSearchableSnapshotIndices) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintinthashCode()protected voidinnerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.core.XPackFeatureUsage
available, enabled, getWriteableName, name, toXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Constructor Details
-
SearchableSnapshotFeatureSetUsage
- Throws:
IOException
-
SearchableSnapshotFeatureSetUsage
public SearchableSnapshotFeatureSetUsage(boolean available, int numberOfFullCopySearchableSnapshotIndices, int numberOfSharedCacheSearchableSnapshotIndices)
-
-
Method Details
-
getMinimalSupportedVersion
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classXPackFeatureUsage- Throws:
IOException
-
innerXContent
protected void innerXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Overrides:
innerXContentin classXPackFeatureUsage- Throws:
IOException
-
getNumberOfSearchableSnapshotIndices
public int getNumberOfSearchableSnapshotIndices() -
getNumberOfFullCopySearchableSnapshotIndices
public int getNumberOfFullCopySearchableSnapshotIndices() -
hashCode
public int hashCode() -
equals
-