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 java.lang.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
Constructors Constructor Description NodeShutdownMetadataDiff(StreamInput in) -
Method Summary
Modifier and Type Method Description Metadata.Customapply(Metadata.Custom part)Applies difference to the specified part and returns the resulted partjava.lang.StringgetWriteableName()Returns the name of the writeable objectvoidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.NamedDiff
getMinimalSupportedVersion
-
Constructor Details
-
NodeShutdownMetadataDiff
- Throws:
java.io.IOException
-
-
Method Details
-
apply
Description copied from interface:DiffApplies difference to the specified part and returns the resulted part- Specified by:
applyin interfaceDiff<Metadata.Custom>
-
getWriteableName
public java.lang.String getWriteableName()Description copied from interface:NamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.
-