Module org.elasticsearch.server
Package org.elasticsearch.snapshots
Class RegisteredPolicySnapshots.RegisteredSnapshotsDiff
java.lang.Object
org.elasticsearch.snapshots.RegisteredPolicySnapshots.RegisteredSnapshotsDiff
- All Implemented Interfaces:
Diff<Metadata.ProjectCustom>,NamedDiff<Metadata.ProjectCustom>,NamedWriteable,Writeable
- Enclosing class:
RegisteredPolicySnapshots
public static class RegisteredPolicySnapshots.RegisteredSnapshotsDiff
extends Object
implements NamedDiff<Metadata.ProjectCustom>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Metadata.ProjectCustom part) Applies difference to the specified part and returns the resulted partThe minimal version of the recipient this object can be sent to.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
supportsVersion
-
Constructor Details
-
RegisteredSnapshotsDiff
- Throws:
IOException
-
-
Method Details
-
apply
Description copied from interface:DiffApplies difference to the specified part and returns the resulted part- Specified by:
applyin interfaceDiff<Metadata.ProjectCustom>
-
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.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getMinimalSupportedVersion
Description copied from interface:NamedDiffThe minimal version of the recipient this object can be sent to. SeeNamedDiff.supportsVersion(TransportVersion)for the default serialization check.- Specified by:
getMinimalSupportedVersionin interfaceNamedDiff<Metadata.ProjectCustom>
-