Module org.elasticsearch.server
Interface Metadata.ClusterCustom
- All Superinterfaces:
ChunkedToXContent,Diffable<Metadata.ClusterCustom>,Metadata.MetadataCustom<Metadata.ClusterCustom>,NamedDiffable<Metadata.ClusterCustom>,NamedWriteable,VersionedNamedWriteable,Writeable
- All Known Implementing Classes:
ClusterPersistentTasksCustomMetadata,DesiredNodesMetadata,ElasticsearchNodeCommand.UnknownClusterCustom,NodesShutdownMetadata
- Enclosing class:
Metadata
public static interface Metadata.ClusterCustom
extends Metadata.MetadataCustom<Metadata.ClusterCustom>
Cluster-level 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> -
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.cluster.metadata.Metadata.MetadataCustom
context, isRestorableMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
getMinimalSupportedVersion, getWriteableName, supportsVersion