Module org.elasticsearch.server
Interface Metadata.Custom
- All Superinterfaces:
ChunkedToXContent
,Diffable<Metadata.Custom>
,NamedDiffable<Metadata.Custom>
,NamedWriteable
,VersionedNamedWriteable
,Writeable
- All Known Implementing Classes:
ComponentTemplateMetadata
,ComposableIndexTemplateMetadata
,DataStreamMetadata
,DesiredNodesMetadata
,ElasticsearchNodeCommand.UnknownMetadataCustom
,FeatureMigrationResults
,IndexGraveyard
,IngestMetadata
,NodesShutdownMetadata
,PersistentTasksCustomMetadata
,RepositoriesMetadata
,ScriptMetadata
- Enclosing class:
- Metadata
Custom metadata that persists (via XContent) across restarts. The deserialization method for each implementation must be registered
with the
NamedXContentRegistry
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Method Summary
Methods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
isFragment, toXContentChunked, toXContentChunkedV7
Methods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
getMinimalSupportedVersion, getWriteableName
-
Method Details
-
context
EnumSet<Metadata.XContentContext> context() -
isRestorable
default boolean isRestorable()- Returns:
- true if this custom could be restored from snapshot
-