public class UpgradeResponse extends BroadcastResponse
A response for the upgrade action.
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Method SummaryModifier and TypeMethodDescription
protected voidOverride in subclass to add custom fields following the common `_shards` field
versions()Returns the highest upgrade version of the node that performed metadata upgrade and the the version of the oldest lucene segment for each index that was upgraded.
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastResponse
declareBroadcastFields, getFailedShards, getShardFailures, getStatus, getSuccessfulShards, getTotalShards, toXContent
Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeToDescription copied from interface:
addCustomXContentFieldsprotected void addCustomXContentFields
(XContentBuilder builder, ToXContent.Params params) throws IOExceptionDescription copied from class:
BroadcastResponseOverride in subclass to add custom fields following the common `_shards` field
versionsReturns the highest upgrade version of the node that performed metadata upgrade and the the version of the oldest lucene segment for each index that was upgraded.