Module org.elasticsearch.server
Interface Metadata.MetadataCustom<T>
- All Superinterfaces:
ChunkedToXContent,Diffable<T>,NamedDiffable<T>,NamedWriteable,VersionedNamedWriteable,Writeable
- All Known Subinterfaces:
Metadata.ClusterCustom,Metadata.ProjectCustom
- All Known Implementing Classes:
ClusterPersistentTasksCustomMetadata,ComponentTemplateMetadata,ComposableIndexTemplateMetadata,DataStreamMetadata,DesiredNodesMetadata,ElasticsearchNodeCommand.AbstractUnknownCustom,ElasticsearchNodeCommand.UnknownClusterCustom,ElasticsearchNodeCommand.UnknownProjectCustom,IndexGraveyard,IngestMetadata,NodesShutdownMetadata,PersistentTasksCustomMetadata,ProjectSecrets,RegisteredPolicySnapshots,RepositoriesMetadata,ScriptMetadata,StreamsMetadata
- Enclosing class:
Metadata
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
EMPTY -
Method Summary
Methods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
isFragment, toXContentChunked, toXContentChunked, toXContentChunkedV8Methods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
getMinimalSupportedVersion, getWriteableName, supportsVersion
-
Method Details
-
context
EnumSet<Metadata.XContentContext> context() -
isRestorable
default boolean isRestorable()- Returns:
- true if this custom could be restored from snapshot
-