public class UpgradeStatusResponse extends BroadcastResponse implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
headers
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
Map<String,IndexUpgradeStatus> |
getIndices() |
long |
getTotalBytes() |
long |
getToUpgradeBytes() |
long |
getToUpgradeBytesAncient() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShards
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public Map<String,IndexUpgradeStatus> getIndices()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastResponse
IOException
public long getTotalBytes()
public long getToUpgradeBytes()
public long getToUpgradeBytesAncient()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2017. All rights reserved.