Class ShardUpgradeStatus
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.support.broadcast.BroadcastShardResponse
org.elasticsearch.action.admin.indices.upgrade.get.ShardUpgradeStatus
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.util.concurrent.RefCounted
public class ShardUpgradeStatus extends BroadcastShardResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors Constructor Description ShardUpgradeStatus(StreamInput in) -
Method Summary
Modifier and Type Method Description ShardRoutinggetShardRouting()longgetTotalBytes()longgetToUpgradeBytes()longgetToUpgradeBytesAncient()voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastShardResponse
getIndex, getShardIdMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ShardUpgradeStatus
- Throws:
java.io.IOException
-
-
Method Details
-
getShardRouting
-
getTotalBytes
public long getTotalBytes() -
getToUpgradeBytes
public long getToUpgradeBytes() -
getToUpgradeBytesAncient
public long getToUpgradeBytesAncient() -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classBroadcastShardResponse- Throws:
java.io.IOException
-