Streamable, Writeable, ToXContent, ToXContentObjectpublic class UpgradeResponse extends BroadcastResponse
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsTransportResponse.EmptyWriteable.Reader<V>, Writeable.Writer<V>EMPTYEMPTY_PARAMS| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addCustomXContentFields(XContentBuilder builder,
ToXContent.Params params) |
Override in subclass to add custom fields following the common `_shards` field
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.util.Map<java.lang.String,Tuple<Version,java.lang.String>> |
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.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
declareBroadcastFields, getFailedShards, getShardFailures, getStatus, getSuccessfulShards, getTotalShards, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentremoteAddress, remoteAddresspublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BroadcastResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class BroadcastResponsejava.io.IOExceptionprotected void addCustomXContentFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
BroadcastResponseaddCustomXContentFields in class BroadcastResponsejava.io.IOException