Class NodesShutdownMetadata.NodeShutdownMetadataDiff
java.lang.Object
org.elasticsearch.cluster.metadata.NodesShutdownMetadata.NodeShutdownMetadataDiff
- All Implemented Interfaces:
Diff<Metadata.Custom>
,NamedDiff<Metadata.Custom>
,NamedWriteable
,Writeable
- Enclosing class:
- NodesShutdownMetadata
public static class NodesShutdownMetadata.NodeShutdownMetadataDiff
extends Object
implements NamedDiff<Metadata.Custom>
Handles diffing and appling diffs for
NodesShutdownMetadata
as necessary for the cluster state infrastructure.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Metadata.Custom part) Applies difference to the specified part and returns the resulted partThe minimal version of the recipient this custom object can be sent toReturns the name of the writeable objectvoid
writeTo
(StreamOutput out) Write this into the StreamOutput.
-
Constructor Details
-
NodeShutdownMetadataDiff
- Throws:
IOException
-
-
Method Details
-
apply
Description copied from interface:Diff
Applies difference to the specified part and returns the resulted part- Specified by:
apply
in interfaceDiff<Metadata.Custom>
-
getWriteableName
Description copied from interface:NamedWriteable
Returns the name of the writeable object- Specified by:
getWriteableName
in interfaceNamedWriteable
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getMinimalSupportedVersion
Description copied from interface:NamedDiff
The minimal version of the recipient this custom object can be sent to- Specified by:
getMinimalSupportedVersion
in interfaceNamedDiff<Metadata.Custom>
-