Streamable
, Writeable
, ToXContent
, ToXContentObject
public class UpgradeResponse extends BroadcastResponse
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY
EMPTY_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, toXContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
remoteAddress, remoteAddress
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class BroadcastResponse
java.io.IOException
protected void addCustomXContentFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
BroadcastResponse
addCustomXContentFields
in class BroadcastResponse
java.io.IOException