public class ShardUpgradeStatus extends BroadcastShardResponse
TransportResponse.Empty
Modifier and Type | Method and Description |
---|---|
ShardRouting |
getShardRouting() |
long |
getTotalBytes() |
long |
getToUpgradeBytes() |
long |
getToUpgradeBytesAncient() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static ShardUpgradeStatus |
readShardUpgradeStatus(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
getIndex, getShardId
remoteAddress, remoteAddress
public ShardRouting getShardRouting()
public long getTotalBytes()
public long getToUpgradeBytes()
public long getToUpgradeBytesAncient()
public static ShardUpgradeStatus readShardUpgradeStatus(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastShardResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class BroadcastShardResponse
java.io.IOException