public class ShardUpgradeStatus extends BroadcastShardResponse
TransportResponse.Empty
headers
Modifier and Type | Method and Description |
---|---|
ShardRouting |
getShardRouting() |
long |
getTotalBytes() |
long |
getToUpgradeBytes() |
long |
getToUpgradeBytesAncient() |
void |
readFrom(StreamInput in) |
static ShardUpgradeStatus |
readShardUpgradeStatus(StreamInput in) |
void |
writeTo(StreamOutput out) |
getIndex, getShardId
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public ShardRouting getShardRouting()
public long getTotalBytes()
public long getToUpgradeBytes()
public long getToUpgradeBytesAncient()
public static ShardUpgradeStatus readShardUpgradeStatus(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastShardResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastShardResponse
IOException
Copyright © 2009–2017. All rights reserved.