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, getShardIdremoteAddress, remoteAddresspublic ShardRouting getShardRouting()
public long getTotalBytes()
public long getToUpgradeBytes()
public long getToUpgradeBytesAncient()
public static ShardUpgradeStatus readShardUpgradeStatus(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class BroadcastShardResponsejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in class BroadcastShardResponsejava.io.IOException